2016-12-07 41 views
0

numpyパッケージをインストールするには多くの問題があります。私はcommandePython3.5 pipでインストールするNumpy

pip install numpy 

PIP実行すると、私は私がeasy_insallコマンドを使用すると、私は次のエラー

Searching for numpy timed out -- Some packages may not be found! Couldn't find index page for 'numpy' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/ : timed out -- Some packages may not be found! No local packages or download links found for numpy error: Could not find suitable distribution for Requirement.parse('numpy')

と私は

を追加マニュアルのパッケージを採用し得る次のエラー

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/numpy/Could not find a version that satisfies the requirement numpy (from versions:) No matching distribution found for numpy

を取得します

python setup.py install 

次のエラーが発生します:

Running from numpy source directory. 
Cythonizing sources 
numpy/random\mtrand\randint_helpers.pxi.in has not changed 
Processing numpy/random\mtrand\mtrand.pyx 
Traceback (most recent call last): 
    File "<string>", line 1, in <module> 
ImportError: No module named 'Cython' 
Traceback (most recent call last): 
    File "C:\Hazem\Python packages\numpy\tools\cythonize.py", line 70, in process_pyx 
    r = subprocess.call(['cython'] + flags + ["-o", tofile, fromfile]) 
    File "C:\Users\Hazem\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 560, in call 
    with Popen(*popenargs, **kwargs) as p: 
    File "C:\Users\Hazem\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 950, in __init__ 
    restore_signals, start_new_session) 
    File "C:\Users\Hazem\AppData\Local\Programs\Python\Python35\lib\subprocess.py", line 1220, in _execute_child 
    startupinfo) 
FileNotFoundError: [WinError 2] The system cannot find the file specified 

During handling of the above exception, another exception occurred: 

Traceback (most recent call last): 
    File "C:\Hazem\Python packages\numpy\tools\cythonize.py", line 220, in <module> 
    main() 
    File "C:\Hazem\Python packages\numpy\tools\cythonize.py", line 216, in main 
    find_process_files(root_dir) 
    File "C:\Hazem\Python packages\numpy\tools\cythonize.py", line 208, in find_process_files 
    process(cur_dir, fromfile, tofile, function, hash_db) 
    File "C:\Hazem\Python packages\numpy\tools\cythonize.py", line 167, in process 
    processor_function(fromfile, tofile) 
    File "C:\Hazem\Python packages\numpy\tools\cythonize.py", line 81, in process_pyx 
    raise Exception('Cython failed') 
Exception: Cython failed 
Traceback (most recent call last): 
    File "setup.py", line 391, in <module> 
    setup_package() 
    File "setup.py", line 374, in setup_package 
    generate_cython() 
    File "setup.py", line 212, in generate_cython 
    raise RuntimeError("Running cythonize failed!") 
RuntimeError: Running cythonize failed! 

私は助けてください。

答えて

0

は、あなたはいつもピップとの誤差は、あなたがピップ接続の問題を持って示してNumpyインストーラ

+0

私は、私が言ったように私は手動でコマンドを実行しました。しかし、それは動作しません – user3047441

0

をダウンロードすることができます。私はピップインストールを実行しようとしているときにプロキシを正しく設定していないと思います。 this questionにご確認ください。 pipのために--proxyオプションを試してみてください。それ以外の場合は、numpyの手動インストールは推奨しません。

関連する問題