本文介绍了我在哪里可以下载的二进制鸡蛋psycopg2的为Windows?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找二进制鸡蛋psycopg2的的二进制代码的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.

我在找二进制蛋的原因是我想在virtualenv中安装psycopg和它的(this答案介绍了为什么通常的 (this answer describes why it usually is possible) possible with standard Windows installers which look for installed Python in the registry.

附注:我想psycopg是相当受欢迎的图书馆,它令我奇怪不下载项目的网页上提供的二进制鸡蛋。我失去了一些东西在这里?

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?

推荐答案

我们只需要使用类似的easy_install http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.4.win32-pyx.x-pg9.0.3-release.exe从在虚拟环境中。

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.

看起来工作;我们最终psycopg2的在虚拟环境中,而不是在基础环境,我需要在这里是残局。

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:在

这篇关于我在哪里可以下载的二进制鸡蛋psycopg2的为Windows?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 11:35