Time:20181011
Env:win10\python3.6
Author:New(XATU)
概要:
1、命令安装
2、手动安装
3、资源链接
-------------------------
1、命令安装:Erro
C:\Software\Python>pip3 install cython
Collecting cython
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000218EBA8D278>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /packages/b3/b1/50ae389b0cf0f63e0e988df2162593e1dbfd1807c92a5d90c03c8c249c3f/Cython-0.28.5-cp36-cp36m-win_amd64.whl
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000218EBA8DCC0>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /packages/b3/b1/50ae389b0cf0f63e0e988df2162593e1dbfd1807c92a5d90c03c8c249c3f/Cython-0.28.5-cp36-cp36m-win_amd64.whl
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000218EBA8D710>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /packages/b3/b1/50ae389b0cf0f63e0e988df2162593e1dbfd1807c92a5d90c03c8c249c3f/Cython-0.28.5-cp36-cp36m-win_amd64.whl
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000218EBA93240>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /packages/b3/b1/50ae389b0cf0f63e0e988df2162593e1dbfd1807c92a5d90c03c8c249c3f/Cython-0.28.5-cp36-cp36m-win_amd64.whl
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000218EBA93588>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',)': /packages/b3/b1/50ae389b0cf0f63e0e988df2162593e1dbfd1807c92a5d90c03c8c249c3f/Cython-0.28.5-cp36-cp36m-win_amd64.whl
Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/b3/b1/50ae389b0cf0f63e0e988df2162593e1dbfd1807c92a5d90c03c8c249c3f/Cython-0.28.5-cp36-cp36m-win_amd64.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000218EBA934A8>: Failed to establish a new connection: [Errno 11002] getaddrinfo failed',))
2、手动安装
下载并方到安装目录:cython-0.28.5-cp36-cp36m-win_amd64.whl
C:\Software\Python>pip install Cython-0.28.5-cp36-cp36m-win_amd64.whl
Processing c:\software\python\cython-0.28.5-cp36-cp36m-win_amd64.whl
Installing collected packages: Cython
Successfully installed Cython-0.28.5
3、资源链接
官方:https://pypi.python.org/simple/cython
第三方:http://www.lfd.uci.edu/~gohlke/pythonlibs/(404 Not found)