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'
我也尝试手动安装它,但它过于复杂,由于大量依赖
我试图安装一个叫做库graphtool https://开头graphtool .skewed.de / – Donbeo