<div dir="ltr">Hi there,<div><br></div><div>I am not the admin so I have installed my own python 3.5.1 and I am using pip3 to install all modules I need. I got all but matplotlib :-(</div><div><br></div><div><div>pip3 install -U matplotlib                                                                                                                                                 Collecting matplotlib</div><div>  Using cached matplotlib-1.5.1.tar.gz</div><div>    Complete output from command python setup.py egg_info:</div><div>    Traceback (most recent call last):</div><div>      File "<string>", line 1, in <module></div><div>      File "/tmp/pip-build-6eka4_fr/matplotlib/setup.py", line 167, in <module></div><div>        result = package.check()</div><div>      File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 980, in check</div><div>        min_version='1.2', version=version)</div><div>      File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 459, in _check_for_pkg_config</div><div>        if (not is_min_version(version, min_version)):</div><div>      File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 179, in is_min_version</div><div>        return found_version >= expected_version</div><div>      File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 70, in __ge__</div><div>        c = self._cmp(other)</div><div>      File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 337, in _cmp</div><div>        if self.version < other.version:</div><div>    TypeError: unorderable types: str() < int()</div><div>    ============================================================================</div><div>    Edit setup.cfg to change the build options</div><div>    </div><div>    BUILDING MATPLOTLIB</div><div>                matplotlib: yes [1.5.1]</div><div>                    python: yes [3.5.1 (default, Jun 16 2016, 11:03:02)  [GCC</div><div>                            4.4.7 20120313 (Red Hat 4.4.7-11)]]</div><div>                  platform: yes [linux]</div><div>    </div><div>    REQUIRED DEPENDENCIES AND EXTENSIONS</div><div>                     numpy: yes [version 1.11.0]</div><div>                  dateutil: yes [using dateutil version 2.5.3]</div><div>                      pytz: yes [using pytz version 2016.4]</div><div>                    cycler: yes [using cycler version 0.10.0]</div><div>                   tornado: yes [using tornado version 4.3]</div><div>                 pyparsing: yes [using pyparsing version 2.1.5]</div><div>                    libagg: yes [pkg-config information for 'libagg' could not</div><div>                            be found. Using local copy.]</div><div>                  freetype: yes [version unknown]</div><div>    </div><div>    ----------------------------------------</div><div>Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6eka4_fr/matplotlib/</div><div><br></div><div>What am I missing here please?</div><div><br></div><div>Thanks,</div><div><br></div><div>Alan</div><div><br></div><div>PS. btw, with python 2.7.11 all went fine.</div></div>
</div>