我正在尝试按照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
在我的 usb f: drive 上,在我的项目 virtualenv 中,当我执行时:
$ easy_install f:/psycopg2-2.5.1.win32-py2.7-pg9.2.4-release.
我得到:
error: Not a URL, existing file, or requirement spec: 'f:/psycopg2-2.5.1.win32-p
y2.7-pg9.2.4-release'
我怎样才能解决这个问题?