错误:不是URL、现有文件或需求规范:

2024-10-03 11:13:11 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试按照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'

我该怎么解决这个问题?在


Tags: thetocomhttpreleaseonitexe