【发布时间】:2016-02-29 17:01:53
【问题描述】:
当我在 OS X yosemite 上的终端 'sudo pip install scipy'(实际上使用任何 python 包,如 numpy、pandas ..)上运行命令时,我收到以下错误。
Collecting scipy
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x10c566ed0>: Failed to establish a new connection: [Errno 61] Connection refused',)': /simple/scipy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x10c599050>: Failed to establish a new connection: [Errno 61] Connection refused',)': /simple/scipy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x10c599190>: Failed to establish a new connection: [Errno 61] Connection refused',)': /simple/scipy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x10c5992d0>: Failed to establish a new connection: [Errno 61] Connection refused',)': /simple/scipy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x10c599410>: Failed to establish a new connection: [Errno 61] Connection refused',)': /simple/scipy/
Could not find a version that satisfies the requirement scipy (from versions: )
No matching distribution found for scipy
我的 'git clone ..' 工作得很好(我安装了 home brew)。我在代理后面,我已经做了别名。
【问题讨论】:
-
试过
condadocs.continuum.io/anaconda/…?? -
我没试过,没有conda就不行吗?
-
'Fetching package metadata: Error: Invalid index file: repo.continuum.io/pkgs/pro/noarch/repodata.json.bz2: Not supported proxy scheme' 这是使用 conda 的错误!
标签: python git numpy pip osx-yosemite