Installing psycopg2 (postgresql) in virtualenv on windows

前端 未结 3 517
一向
一向 2020-12-15 17:37

I installed psycopg2 in virtualenv using easy_install psycopg2. I did not see any errors and looks like installation went fine.. there is an egg file created in

3条回答
  •  既然无缘
    2020-12-15 18:31

    Edit: this solution is outdated. Refer to this answer instead.

    I had the same problem. Following the suggestion on the download page of the Windows port for getting it working on Zope worked for me under virtualenv (also in the non-virtual install):

    1. Download the executable, rename the .exe extension to .zip
    2. Extract the file contents.
    3. Copy the psycopg2 folder to MyEnv/Lib
    4. Copy the egg to MyEnv/Lib/site-packages

提交回复
热议问题