PostgreSQL PyCharm Python – psycopg2

If PyCharm does not see the installed psycopg2 package.

When executing a command install packages of Pycharm, it most likely runs the basic command to install psycopg2:

As a result, the module is still not found and reinstallation will not work.

The fact is that for psycopg2 to work on unix systems, you need a compiler and additional libraries libpq, libssl. To install immediately everything in the console of your project, enter:

pip install psycopg2-binary

After that, everything should be ok.

Similar Posts

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *