无法点击某个setup.py

时间:2015-06-19 06:35:18

标签: python ssl pip

因此,我尝试安装this python script,这是运行this workflow所必需的。自从我使用Terminal或python以来已经有一段时间了。我觉得有些事情发生了变化。

我认为这里有两个错误,一个是关于SSL,第二个是关于pip正在尝试做什么以及它为什么失败。我无法解释投掷的内容。

> user$ sudo -H pip install Dropbox/Developer/AppleScripts/iTunesaff/python-itunes/setup.py
/Library/Python/2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Exception:
Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 223, in main
    status = self.run(options, args)
  File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 268, in run
    wheel_cache
  File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 268, in populate_requirement_set
    wheel_cache=wheel_cache
  File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 207, in from_line
    wheel_cache=wheel_cache)
  File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 66, in __init__
    req = pkg_resources.Requirement.parse(req)
  File "/Library/Python/2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2960, in parse
    reqs = list(parse_requirements(s))
  File "/Library/Python/2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2904, in parse_requirements
    "version spec")
  File "/Library/Python/2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2869, in scan_list
    raise ValueError(msg, line, "at", line[p:])
ValueError: ('Expected version spec in', 'Dropbox/Developer/AppleScripts/iTunesaff/python-itunes/setup.py', 'at', '/Developer/AppleScripts/iTunesaff/python-itunes/setup.py')

0 个答案:

没有答案