python 安装Cython

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(': 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(': 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(': 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(': 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(': 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(': 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)

你可能感兴趣的:(Python)