【发布时间】:2013-10-05 19:47:17
【问题描述】:
我正在尝试按照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'
我该如何解决这个问题?
【问题讨论】:
标签: python windows installation psycopg2 easy-install