我正在尝试在centos上创建图形工具,但是我收到了一个错误。
这是我尝试过的:
(python_2.7_numerical) [lpuggini@machinelearn-1 ~]$ 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) [lpuggini@machinelearn-1 ~]$ 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'我也尝试过手动安装,但由于依赖项太多,所以太复杂了
发布于 2021-01-11 18:19:17
因为graph-tool在底层使用C,所以安装有点棘手。
请查看此处的安装说明https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions
发布于 2016-12-14 20:15:34
您使用的是哪种图形工具?如果您正在使用matplotlib %matplotlib内联
当我在Azureml中进行开发时,这通常适用于我
in Ipython notebook, Pandas is not displying the graph I try to plot
https://stackoverflow.com/questions/41142358
复制相似问题