我尝试按照http://webdevon.com/setting-up-a-portable-postgresql-server-to-carry-on-an-usb-stick/上的教程安装psycopg2,方法是按照以下说明进行操作:
Go on this page to download it: http://www.stickpeople.com/projects/python/win-psycopg/
Download the .exe of the right version you need
Install it via:
easy_install /path/to/the/file/psycopg2-2.4.4.win32-py2.7-pg9.1.2-release.exe
在我的usbf:drive上,在我的projects virtualenv中,当我执行以下操作时:
^{pr2}$我得到:
error: Not a URL, existing file, or requirement spec: 'f:/psycopg2-2.5.1.win32-p
y2.7-pg9.2.4-release'
我该怎么解决这个问题?在
看来你忘了放分机了。确保指定的文件名与磁盘上的文件名完全相同。在
相关问题 更多 >
编程相关推荐