我正在尝试使用以下步骤从源代码安装Matplotlib最新版本:
1)git克隆https://github.com/matplotlib/matplotlib.git 2) cd~/matplotlib;sudoPython3设置.py安装
但是,我得到以下错误,我不完全理解:
编辑设置.cfg更改生成选项
BUILDING MATPLOTLIB
matplotlib: yes [1.5.dev1]
python: yes [3.4.0 (default, Apr 11 2014, 13:05:11) [GCC
4.8.2]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.10.0.dev0+fba3140]
six: yes [using six version 1.5.2]
dateutil: yes [using dateutil version 2.0]
pytz: yes [using pytz version 2012c]
tornado: yes [using tornado version 3.1.1]
pyparsing: yes [using pyparsing version 2.0.1]
libagg: yes [Requires patches that have not been merged
upstream. Using local copy.]
Traceback (most recent call last):
File "setup.py", line 153, in <module>
result = package.check()
File "/home/srini/matplotlib/setupext.py", line 900, in check
min_version='2.3', version=version)
File "/home/srini/matplotlib/setupext.py", line 446, in _check_for_pkg_config
if (not is_min_version(version, min_version)):
File "/home/srini/matplotlib/setupext.py", line 173, in is_min_version
return found_version >= expected_version
File "/usr/lib/python3.4/distutils/version.py", line 76, in __ge__
c = self._cmp(other)
File "/usr/lib/python3.4/distutils/version.py", line 343, in _cmp
if self.version < other.version:
TypeError: unorderable types: str() < int()
有人能看一下,告诉我我是否遗漏了任何依赖项吗? 提前谢谢。你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐