它是在试图“帮助”吗?在
我正在运行win8 64x。我需要安装psycopg32x。我使用的命令如下所示in the heroku guide
easy_install http://www.stickpeople.com/projects/python/win-psycopg/2.4.6/psycopg2-2.4.6.win32-py2.7-pg9.2.2-release.exe
然后我看到它安装了
^{pr2}$这是64x版本,不是我需要的32x版本。在
后来我出错了
ImportError: DLL load failed: %1 is not a valid Win32 application.
我在想,也许psycopg的windows32x安装程序被标错了,但这不太可能。在
您应该使用32位版本的cpython安装的
easy_install
。(easy_install不仅可以使用32位和64位版本的cpython,还可以使用pypy等python的其他实现)在相关问题 更多 >
编程相关推荐