compiling matplotlib in virtual env

Rolston Jeremiah gtec.oses at gmail.com
Fri Oct 2 02:15:54 EDT 2015


Hello everyone,

I been trying to compile matplotlib in a python3.4 virtual env using 
pip version 1.7 on Fedora 22. I am in about 3 weeks learning python 
and Django so I am not clear on the error response to:


commmand
=========

pip3 install matplotlib


error message
=============


Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-b_yuukm4/matplotlib/setup.py", line 155, in <module>
        result = package.check()
      File "/tmp/pip-build-b_yuukm4/matplotlib/setupext.py", line 961, in check
        min_version='2.3', version=version)
      File "/tmp/pip-build-b_yuukm4/matplotlib/setupext.py", line 445, in _check_for_pkg_config
        if (not is_min_version(version, min_version)):
      File "/tmp/pip-build-b_yuukm4/matplotlib/setupext.py", line 173, in is_min_version
        return found_version >= expected_version
      File "/usr/lib64/python3.4/distutils/version.py", line 76, in __ge__
        c = self._cmp(other)
      File "/usr/lib64/python3.4/distutils/version.py", line 343, in _cmp
        if self.version < other.version:
    TypeError: unorderable types: str() < int()
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-b_yuukm4/matplotlib


Appreciate  your help
thanks

rjae






More information about the Python-list mailing list