2016-12-14 84 views
1

我可能試圖在isos上使用graphtool,但我收到一個錯誤。安裝graphtool時出錯python

這是我曾嘗試:

(python_2.7_numerical) [[email protected] ~]$ pip install git+https://github.com/count0/graph-tool 
Collecting git+https://github.com/count0/graph-tool 
    Cloning https://github.com/count0/graph-tool to /tmp/pip-dU9eDe-build 
    Complete output from command python setup.py egg_info: 
    Traceback (most recent call last): 
     File "<string>", line 1, in <module> 
    IOError: [Errno 2] No such file or directory: '/tmp/pip-dU9eDe-build/setup.py' 

    ---------------------------------------- 

(python_2.7_numerical) [[email protected] ~]$ pip install graphtool 
Collecting graphtool 
    Using cached graphtool-0.5.2.tar.gz 
Collecting CherryPy<=3.1 (from graphtool) 
    Using cached CherryPy-3.1.0.tar.gz 
Collecting matplotlib<=0.90.1 (from graphtool) 
    Using cached matplotlib-0.86.2.tar.gz 
    Complete output from command python setup.py egg_info: 
    installing data to ./matplotlib/mpl-data 
    Traceback (most recent call last): 
     File "<string>", line 1, in <module> 
     File "/tmp/pip-build-16Qbh5/matplotlib/setup.py", line 201, in <module> 
     build_transforms(ext_modules, packages, NUMERIX) 
     File "setupext.py", line 760, in build_transforms 
     add_numpy_flags(module) 
     File "setupext.py", line 119, in add_numpy_flags 
     module.include_dirs.append(numpy.get_numpy_include()) 
    AttributeError: 'module' object has no attribute 'get_numpy_include' 

我也嘗試手動安裝它,但它過於複雜,由於大量依賴

回答