<div dir="ltr">Thanks for your help! It gave me the hint to nail the issue. My PATH had a very old pkg-config. I removed and now all worked!<div><br></div><div>Thanks a lot,</div><div><br></div><div>Alan</div><div class="gmail_extra"><br><div class="gmail_quote">On 16 June 2016 at 19:36, Jens Nielsen <span dir="ltr"><<a href="mailto:jenshnielsen@gmail.com" target="_blank">jenshnielsen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks like LooseVersion gets something that it not quite understand. As far as I can see this is coming from freetype<div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">What does running </span>pkg-config --modversion freetype2 on the commandline give?</div><div><br></div><div>best</div><div>Jens</div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Thu, 16 Jun 2016 at 17:09 Alan <<a href="mailto:alanwilter@gmail.com" target="_blank">alanwilter@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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></div></div></blockquote></div></blockquote></div><br>
</div></div>