Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
219 views
in Technique[技术] by (71.8m points)

python - Where can I download binary eggs with psycopg2 for Windows?

I'm looking for binary eggs with psycopg2's binaries for Windows but can't find any.
On http://initd.org/psycopg/download/ there's only source package and link to Windows port of Psycopg which provides binary installers but no binary eggs.

The reason I'm looking for binary egg is I'd like to install psycopg in virtualenv and it's not (this answer describes why it usually is possible) possible with standard Windows installers which look for installed Python in the registry.

Side note: I guess psycopg is rather popular library and it strikes me as odd not to provide binary eggs for download on project's page. Am I missing something here?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...