compiling matplotlib in virtual env

Miki Tebeka miki.tebeka at gmail.com
Fri Oct 2 02:43:35 EDT 2015


> 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:
> ...
>       File "/usr/lib64/python3.4/distutils/version.py", line 343, in _cmp
>         if self.version < other.version:
>     TypeError: unorderable types: str() < int()
Looks like a bug in distuils (which is a package used by pip). Maybe you can upgrade to a newer version of distutils? (pip3 install -U distutils) and try again?

As a side note, I find using conda to install scipy related packages a much easier way.



More information about the Python-list mailing list