The problem that psycopg2 fails to import PyCharm when using Mac

Solution:

Change :include-system-site-packages=false to include-system-site-packages=true in the pyvenv.cfg file of the folder venv.

Then reinstall, you can install:

Guess you like

Origin blog.csdn.net/ONLYSRY/article/details/129704758
Recommended