Where can I download binary eggs with psycopg2 for Windows?

寵の児 提交于 2019-11-28 07:27:58
ig0774

We just use something like easy_install http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.4.win32-pyx.x-pg9.0.3-release.exe from within the virtual environment.

Seems to work; we end up with psycopg2 in the virtual environment and not in the base environment, which I take to be the endgame here.

UPD: List of available realeases available on stickpeople.com site

Andreas Jung

Google for "psycopg2 windows" will give you this with the first hit:

http://stickpeople.com/projects/python/win-psycopg/

Repackaging the .exe files is documented here:

Installing psycopg2 (postgresql) in virtualenv on windows

Apart from that: contact the pyscopg2 maintainers and ask to provide windows binaries.

(Dupe)

For the new guys stumbling upon, stickpeople have these great new pip options on github: http://www.stickpeople.com/projects/python/win-psycopg/ or https://github.com/nwcell/psycopg2-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!