【问题标题】:Error: Not a URL, existing file, or requirement spec:错误:不是 URL、现有文件或需求规范:
【发布时间】: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


    【解决方案1】:

    您好像忘记添加扩展名了。确保完全指定文件名,因为它在磁盘上。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-10
      • 2012-10-26
      • 1970-01-01
      • 2016-09-14
      • 2020-12-23
      • 1970-01-01
      相关资源
      最近更新 更多