Closed lazargugleta closed 1 year ago
Hi @lazargugleta, thanks for this detailed bug report! Our team will investigate the issue and get back to you soon!
Interesting, I've actually run into this problem in the past before, but I decided to use psycopg2-binary
instead. In fact, you can see this in the Dockerfiles for self-hosting example
I wonder if its better to use psycopg2-binary
since its a "stand-alone package, not requiring a compiler or external libraries" which should make installing easier. Drawback is they say "The binary package is a practical choice for development and testing but in production it is advised to use the package built from sources."
I think since Lineapy is mostly used in development right now, this is fine and we should switch over?
@yoonspark @lazargugleta thoughts?
That occurred to me as well while trying to fix the issue. It would make sense since, as you said, Linea is in the development stage.
@lazargugleta ^
Nicely done! :partying_face:
python version: Python 3.10.6
lineapy version: 0.2.1
Your code:
Issue: psycopg2 library does not install with the requirements file.
I found the solution to the problem:
And again, installing requirements goes without problems.