Error installing requirements. In the psycopg2 and pgml libraries


when i am installing this libraries
scikit_learn==1.1.3
streamlit==1.15.1
psycopg2==2.9.3
psycopg2-binary==2.9.3
in requruments.txt file this gives error
how to solve the error ?
And also install the pgml==1.0.0
Give the solution

Hi @Darshan5G

It seems that the installation failed owing to not being able to build from source. Could you try adding libpq-dev to a packages.txt file as a prerequisite for building the Postgres development environment may be needed (See this relevant post for more info).

Hope this helps!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.