You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
(16) |
2
(8) |
3
(4) |
4
|
5
|
6
(3) |
7
(11) |
8
(16) |
9
(1) |
10
(2) |
11
(2) |
12
(6) |
13
(2) |
14
(4) |
15
(5) |
16
(10) |
17
(5) |
18
|
19
|
20
|
21
(3) |
22
|
23
(12) |
24
(7) |
25
(1) |
26
|
27
(3) |
28
(4) |
29
(5) |
30
(2) |
|
|
From: AdolfoE A. <agu...@gm...> - 2015-04-01 15:44:28
|
unsuscribe |
From: Benjamin R. <ben...@ou...> - 2015-04-01 14:29:56
|
Good point. At least put up a decent message to help users understand what is wrong. On Wed, Apr 1, 2015 at 9:57 AM, Thomas Caswell <tca...@gm...> wrote: > Independent of what exactly is going wrong, the issue is that it _isn't_ > finding the right version of freetype and iirc LooseVersion is handling the > 'not found' return code badly. This is coming up often enough we probably > do need to special case this check with a try/except. > > On Wed, Apr 1, 2015 at 9:50 AM Benjamin Root <ben...@ou...> wrote: > >> Actually, look at the traceback... it is using distutils' version.py. >> That's weird. Is that a result of setuptools monkey-patching? >> >> On Wed, Apr 1, 2015 at 9:25 AM, Jens Nielsen <jen...@gm...> >> wrote: >> >>> I think we have seen this issue before and it seems to be caused by an >>> out of date version of setuptools. I tried reproducing it on fresh ubuntu >>> 14.04 machine but was not able to reproduce the issue. Do you know which >>> version of setuptools you are using? >>> >>> Jens >>> >>> ons. 1. apr. 2015 kl. 14.19 skrev Thomas Caswell <tca...@gm...>: >>> >>>> Make sure you have `freetype-dev` installed at the system level. >>>> >>>> Tom >>>> >>>> On Wed, Apr 1, 2015 at 8:02 AM Christian Ambros <am...@ym...> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I'm facing the same trouble with installing matplotlib 1.4.3 and >>>>> 1.5.dev1. running >>>>> >>>>> python3 setup.py build >>>>> >>>>> in the unarchived directory gives this: >>>>> >>>>> ============================================================================ >>>>> Edit setup.cfg to change the build options >>>>> >>>>> 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.9.2] >>>>> 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/ambrosc/Downloads/matplotlib-master/setupext.py", line >>>>> 900, in check >>>>> min_version='2.3', version=version) >>>>> File "/home/ambrosc/Downloads/matplotlib-master/setupext.py", line >>>>> 446, in _check_for_pkg_config >>>>> if (not is_min_version(version, min_version)): >>>>> File "/home/ambrosc/Downloads/matplotlib-master/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() >>>>> >>>>> I'm running Linux Mint 17 "Quina" which is based on Ubuntu's trusty >>>>> packges. >>>>> >>>>> pip3 is up to date. Running >>>>> print(setuptools.__file__) >>>>> >>>>> gives: /usr/local/lib/python3.4/dist-packages/setuptools/__init__.py >>>>> which is as expected. >>>>> >>>>> Using pip3 install matplotlib --upgrade #even to 1.4.3 >>>>> get's me this: >>>>> >>>>> >>>>> Collecting matplotlib from >>>>> https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267 >>>>> Downloading matplotlib-1.4.3.tar.gz (50.4MB) >>>>> 100% |################################| 50.4MB 8.0kB/s >>>>> Traceback (most recent call last): >>>>> File "<string>", line 20, in <module> >>>>> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >>>>> <module> >>>>> result = package.check() >>>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, >>>>> in check >>>>> min_version='2.3', version=version) >>>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, >>>>> in _check_for_pkg_config >>>>> if (not is_min_version(version, min_version)): >>>>> File "/tmp/pip-build-sezmzam8/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() >>>>> >>>>> ============================================================================ >>>>> Edit setup.cfg to change the build options >>>>> BUILDING MATPLOTLIB >>>>> matplotlib: yes [1.4.3] >>>>> 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.9.2] >>>>> 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] >>>>> pycxx: yes [Official versions of PyCXX are not >>>>> compatible >>>>> with matplotlib on Python 3.x, since they >>>>> lack >>>>> support for the buffer object. Using >>>>> local copy] >>>>> libagg: yes [Requires patches that have not been >>>>> merged >>>>> upstream. Using local copy.] >>>>> Complete output from command python setup.py egg_info: >>>>> Traceback (most recent call last): >>>>> >>>>> File "<string>", line 20, in <module> >>>>> >>>>> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >>>>> <module> >>>>> >>>>> result = package.check() >>>>> >>>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, >>>>> in check >>>>> >>>>> min_version='2.3', version=version) >>>>> >>>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, >>>>> in _check_for_pkg_config >>>>> >>>>> if (not is_min_version(version, min_version)): >>>>> >>>>> File "/tmp/pip-build-sezmzam8/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() >>>>> >>>>> >>>>> ============================================================================ >>>>> >>>>> Edit setup.cfg to change the build options >>>>> >>>>> >>>>> >>>>> BUILDING MATPLOTLIB >>>>> >>>>> matplotlib: yes [1.4.3] >>>>> >>>>> 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.9.2] >>>>> >>>>> 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] >>>>> >>>>> pycxx: yes [Official versions of PyCXX are not >>>>> compatible >>>>> >>>>> with matplotlib on Python 3.x, since they >>>>> lack >>>>> >>>>> support for the buffer object. Using >>>>> local copy] >>>>> >>>>> libagg: yes [Requires patches that have not been >>>>> merged >>>>> >>>>> upstream. Using local copy.] >>>>> >>>>> ---------------------------------------- >>>>> Command "python setup.py egg_info" failed with error code 1 in >>>>> /tmp/pip-build-sezmzam8/matplotlib >>>>> Which leads to the same error! >>>>> >>>>> running python2.7 setup.py egg_info doesn't fail but since I have to >>>>> use 3.4.x ant pyqt5.4.x there is no way to use something else than >>>>> matplotlib 1.4.3/1.5dev1 because auf the qt5agg backend. >>>>> >>>>> Any hints on how to get along? >>>>> >>>>> Christian >>>>> >>>>> -- >>>>> "A little learning never caused anyone's head to explode!" >>>>> >>>>> >>>>> "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" >>>>> ------------------------------------------------------------ >>>>> ------------------ >>>>> Dive into the World of Parallel Programming The Go Parallel Website, >>>>> sponsored >>>>> by Intel and developed in partnership with Slashdot Media, is your hub >>>>> for all >>>>> things parallel software development, from weekly thought leadership >>>>> blogs to >>>>> news, videos, case studies, tutorials and more. Take a look and join >>>>> the >>>>> conversation now. http://goparallel.sourceforge.net/ >>>>> _______________________________________________ >>>>> Matplotlib-users mailing list >>>>> Mat...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, >>>> sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub >>>> for all >>>> things parallel software development, from weekly thought leadership >>>> blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub >>> for all >>> things parallel software development, from weekly thought leadership >>> blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> |
From: Thomas C. <tca...@gm...> - 2015-04-01 13:57:25
|
Independent of what exactly is going wrong, the issue is that it _isn't_ finding the right version of freetype and iirc LooseVersion is handling the 'not found' return code badly. This is coming up often enough we probably do need to special case this check with a try/except. On Wed, Apr 1, 2015 at 9:50 AM Benjamin Root <ben...@ou...> wrote: > Actually, look at the traceback... it is using distutils' version.py. > That's weird. Is that a result of setuptools monkey-patching? > > On Wed, Apr 1, 2015 at 9:25 AM, Jens Nielsen <jen...@gm...> > wrote: > >> I think we have seen this issue before and it seems to be caused by an >> out of date version of setuptools. I tried reproducing it on fresh ubuntu >> 14.04 machine but was not able to reproduce the issue. Do you know which >> version of setuptools you are using? >> >> Jens >> >> ons. 1. apr. 2015 kl. 14.19 skrev Thomas Caswell <tca...@gm...>: >> >>> Make sure you have `freetype-dev` installed at the system level. >>> >>> Tom >>> >>> On Wed, Apr 1, 2015 at 8:02 AM Christian Ambros <am...@ym...> >>> wrote: >>> >>>> Hi, >>>> >>>> I'm facing the same trouble with installing matplotlib 1.4.3 and >>>> 1.5.dev1. running >>>> >>>> python3 setup.py build >>>> >>>> in the unarchived directory gives this: >>>> >>>> ============================================================================ >>>> Edit setup.cfg to change the build options >>>> >>>> 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.9.2] >>>> 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/ambrosc/Downloads/matplotlib-master/setupext.py", line >>>> 900, in check >>>> min_version='2.3', version=version) >>>> File "/home/ambrosc/Downloads/matplotlib-master/setupext.py", line >>>> 446, in _check_for_pkg_config >>>> if (not is_min_version(version, min_version)): >>>> File "/home/ambrosc/Downloads/matplotlib-master/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() >>>> >>>> I'm running Linux Mint 17 "Quina" which is based on Ubuntu's trusty >>>> packges. >>>> >>>> pip3 is up to date. Running >>>> print(setuptools.__file__) >>>> >>>> gives: /usr/local/lib/python3.4/dist-packages/setuptools/__init__.py >>>> which is as expected. >>>> >>>> Using pip3 install matplotlib --upgrade #even to 1.4.3 >>>> get's me this: >>>> >>>> >>>> Collecting matplotlib from >>>> https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267 >>>> Downloading matplotlib-1.4.3.tar.gz (50.4MB) >>>> 100% |################################| 50.4MB 8.0kB/s >>>> Traceback (most recent call last): >>>> File "<string>", line 20, in <module> >>>> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >>>> <module> >>>> result = package.check() >>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, >>>> in check >>>> min_version='2.3', version=version) >>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, >>>> in _check_for_pkg_config >>>> if (not is_min_version(version, min_version)): >>>> File "/tmp/pip-build-sezmzam8/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() >>>> >>>> ============================================================================ >>>> Edit setup.cfg to change the build options >>>> BUILDING MATPLOTLIB >>>> matplotlib: yes [1.4.3] >>>> 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.9.2] >>>> 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] >>>> pycxx: yes [Official versions of PyCXX are not >>>> compatible >>>> with matplotlib on Python 3.x, since they >>>> lack >>>> support for the buffer object. Using local >>>> copy] >>>> libagg: yes [Requires patches that have not been >>>> merged >>>> upstream. Using local copy.] >>>> Complete output from command python setup.py egg_info: >>>> Traceback (most recent call last): >>>> >>>> File "<string>", line 20, in <module> >>>> >>>> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >>>> <module> >>>> >>>> result = package.check() >>>> >>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, >>>> in check >>>> >>>> min_version='2.3', version=version) >>>> >>>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, >>>> in _check_for_pkg_config >>>> >>>> if (not is_min_version(version, min_version)): >>>> >>>> File "/tmp/pip-build-sezmzam8/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() >>>> >>>> >>>> ============================================================================ >>>> >>>> Edit setup.cfg to change the build options >>>> >>>> >>>> >>>> BUILDING MATPLOTLIB >>>> >>>> matplotlib: yes [1.4.3] >>>> >>>> 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.9.2] >>>> >>>> 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] >>>> >>>> pycxx: yes [Official versions of PyCXX are not >>>> compatible >>>> >>>> with matplotlib on Python 3.x, since they >>>> lack >>>> >>>> support for the buffer object. Using local >>>> copy] >>>> >>>> libagg: yes [Requires patches that have not been >>>> merged >>>> >>>> upstream. Using local copy.] >>>> >>>> ---------------------------------------- >>>> Command "python setup.py egg_info" failed with error code 1 in >>>> /tmp/pip-build-sezmzam8/matplotlib >>>> Which leads to the same error! >>>> >>>> running python2.7 setup.py egg_info doesn't fail but since I have to >>>> use 3.4.x ant pyqt5.4.x there is no way to use something else than >>>> matplotlib 1.4.3/1.5dev1 because auf the qt5agg backend. >>>> >>>> Any hints on how to get along? >>>> >>>> Christian >>>> >>>> -- >>>> "A little learning never caused anyone's head to explode!" >>>> >>>> >>>> "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" >>>> ------------------------------------------------------------ >>>> ------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, >>>> sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub >>>> for all >>>> things parallel software development, from weekly thought leadership >>>> blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> >>> ------------------------------------------------------------ >>> ------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub >>> for all >>> things parallel software development, from weekly thought leadership >>> blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >> things parallel software development, from weekly thought leadership >> blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > |
From: Benjamin R. <ben...@ou...> - 2015-04-01 13:50:10
|
Actually, look at the traceback... it is using distutils' version.py. That's weird. Is that a result of setuptools monkey-patching? On Wed, Apr 1, 2015 at 9:25 AM, Jens Nielsen <jen...@gm...> wrote: > I think we have seen this issue before and it seems to be caused by an out > of date version of setuptools. I tried reproducing it on fresh ubuntu 14.04 > machine but was not able to reproduce the issue. Do you know which version > of setuptools you are using? > > Jens > > ons. 1. apr. 2015 kl. 14.19 skrev Thomas Caswell <tca...@gm...>: > >> Make sure you have `freetype-dev` installed at the system level. >> >> Tom >> >> On Wed, Apr 1, 2015 at 8:02 AM Christian Ambros <am...@ym...> >> wrote: >> >>> Hi, >>> >>> I'm facing the same trouble with installing matplotlib 1.4.3 and >>> 1.5.dev1. running >>> >>> python3 setup.py build >>> >>> in the unarchived directory gives this: >>> >>> ============================================================================ >>> Edit setup.cfg to change the build options >>> >>> 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.9.2] >>> 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/ambrosc/Downloads/matplotlib-master/setupext.py", line >>> 900, in check >>> min_version='2.3', version=version) >>> File "/home/ambrosc/Downloads/matplotlib-master/setupext.py", line >>> 446, in _check_for_pkg_config >>> if (not is_min_version(version, min_version)): >>> File "/home/ambrosc/Downloads/matplotlib-master/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() >>> >>> I'm running Linux Mint 17 "Quina" which is based on Ubuntu's trusty >>> packges. >>> >>> pip3 is up to date. Running >>> print(setuptools.__file__) >>> >>> gives: /usr/local/lib/python3.4/dist-packages/setuptools/__init__.py >>> which is as expected. >>> >>> Using pip3 install matplotlib --upgrade #even to 1.4.3 >>> get's me this: >>> >>> >>> Collecting matplotlib from >>> https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267 >>> Downloading matplotlib-1.4.3.tar.gz (50.4MB) >>> 100% |################################| 50.4MB 8.0kB/s >>> Traceback (most recent call last): >>> File "<string>", line 20, in <module> >>> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >>> <module> >>> result = package.check() >>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, >>> in check >>> min_version='2.3', version=version) >>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, >>> in _check_for_pkg_config >>> if (not is_min_version(version, min_version)): >>> File "/tmp/pip-build-sezmzam8/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() >>> >>> ============================================================================ >>> Edit setup.cfg to change the build options >>> BUILDING MATPLOTLIB >>> matplotlib: yes [1.4.3] >>> 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.9.2] >>> 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] >>> pycxx: yes [Official versions of PyCXX are not >>> compatible >>> with matplotlib on Python 3.x, since they >>> lack >>> support for the buffer object. Using local >>> copy] >>> libagg: yes [Requires patches that have not been >>> merged >>> upstream. Using local copy.] >>> Complete output from command python setup.py egg_info: >>> Traceback (most recent call last): >>> >>> File "<string>", line 20, in <module> >>> >>> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >>> <module> >>> >>> result = package.check() >>> >>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, >>> in check >>> >>> min_version='2.3', version=version) >>> >>> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, >>> in _check_for_pkg_config >>> >>> if (not is_min_version(version, min_version)): >>> >>> File "/tmp/pip-build-sezmzam8/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() >>> >>> >>> ============================================================================ >>> >>> Edit setup.cfg to change the build options >>> >>> >>> >>> BUILDING MATPLOTLIB >>> >>> matplotlib: yes [1.4.3] >>> >>> 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.9.2] >>> >>> 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] >>> >>> pycxx: yes [Official versions of PyCXX are not >>> compatible >>> >>> with matplotlib on Python 3.x, since they >>> lack >>> >>> support for the buffer object. Using local >>> copy] >>> >>> libagg: yes [Requires patches that have not been >>> merged >>> >>> upstream. Using local copy.] >>> >>> ---------------------------------------- >>> Command "python setup.py egg_info" failed with error code 1 in >>> /tmp/pip-build-sezmzam8/matplotlib >>> Which leads to the same error! >>> >>> running python2.7 setup.py egg_info doesn't fail but since I have to use >>> 3.4.x ant pyqt5.4.x there is no way to use something else than matplotlib >>> 1.4.3/1.5dev1 because auf the qt5agg backend. >>> >>> Any hints on how to get along? >>> >>> Christian >>> >>> -- >>> "A little learning never caused anyone's head to explode!" >>> >>> >>> "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" >>> ------------------------------------------------------------ >>> ------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub >>> for all >>> things parallel software development, from weekly thought leadership >>> blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> ------------------------------------------------------------ >> ------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >> things parallel software development, from weekly thought leadership >> blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: Jens N. <jen...@gm...> - 2015-04-01 13:25:56
|
I think we have seen this issue before and it seems to be caused by an out of date version of setuptools. I tried reproducing it on fresh ubuntu 14.04 machine but was not able to reproduce the issue. Do you know which version of setuptools you are using? Jens ons. 1. apr. 2015 kl. 14.19 skrev Thomas Caswell <tca...@gm...>: > Make sure you have `freetype-dev` installed at the system level. > > Tom > > On Wed, Apr 1, 2015 at 8:02 AM Christian Ambros <am...@ym...> wrote: > >> Hi, >> >> I'm facing the same trouble with installing matplotlib 1.4.3 and >> 1.5.dev1. running >> >> python3 setup.py build >> >> in the unarchived directory gives this: >> >> ============================================================================ >> Edit setup.cfg to change the build options >> >> 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.9.2] >> 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/ambrosc/Downloads/matplotlib-master/setupext.py", line 900, >> in check >> min_version='2.3', version=version) >> File "/home/ambrosc/Downloads/matplotlib-master/setupext.py", line 446, >> in _check_for_pkg_config >> if (not is_min_version(version, min_version)): >> File "/home/ambrosc/Downloads/matplotlib-master/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() >> >> I'm running Linux Mint 17 "Quina" which is based on Ubuntu's trusty >> packges. >> >> pip3 is up to date. Running >> print(setuptools.__file__) >> >> gives: /usr/local/lib/python3.4/dist-packages/setuptools/__init__.py >> which is as expected. >> >> Using pip3 install matplotlib --upgrade #even to 1.4.3 >> get's me this: >> >> >> Collecting matplotlib from >> https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267 >> Downloading matplotlib-1.4.3.tar.gz (50.4MB) >> 100% |################################| 50.4MB 8.0kB/s >> Traceback (most recent call last): >> File "<string>", line 20, in <module> >> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >> <module> >> result = package.check() >> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, in >> check >> min_version='2.3', version=version) >> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, in >> _check_for_pkg_config >> if (not is_min_version(version, min_version)): >> File "/tmp/pip-build-sezmzam8/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() >> >> ============================================================================ >> Edit setup.cfg to change the build options >> BUILDING MATPLOTLIB >> matplotlib: yes [1.4.3] >> 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.9.2] >> 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] >> pycxx: yes [Official versions of PyCXX are not >> compatible >> with matplotlib on Python 3.x, since they lack >> support for the buffer object. Using local >> copy] >> libagg: yes [Requires patches that have not been >> merged >> upstream. Using local copy.] >> Complete output from command python setup.py egg_info: >> Traceback (most recent call last): >> >> File "<string>", line 20, in <module> >> >> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in >> <module> >> >> result = package.check() >> >> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, in >> check >> >> min_version='2.3', version=version) >> >> File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, in >> _check_for_pkg_config >> >> if (not is_min_version(version, min_version)): >> >> File "/tmp/pip-build-sezmzam8/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() >> >> >> ============================================================================ >> >> Edit setup.cfg to change the build options >> >> >> >> BUILDING MATPLOTLIB >> >> matplotlib: yes [1.4.3] >> >> 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.9.2] >> >> 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] >> >> pycxx: yes [Official versions of PyCXX are not >> compatible >> >> with matplotlib on Python 3.x, since they lack >> >> support for the buffer object. Using local >> copy] >> >> libagg: yes [Requires patches that have not been >> merged >> >> upstream. Using local copy.] >> >> ---------------------------------------- >> Command "python setup.py egg_info" failed with error code 1 in >> /tmp/pip-build-sezmzam8/matplotlib >> Which leads to the same error! >> >> running python2.7 setup.py egg_info doesn't fail but since I have to use >> 3.4.x ant pyqt5.4.x there is no way to use something else than matplotlib >> 1.4.3/1.5dev1 because auf the qt5agg backend. >> >> Any hints on how to get along? >> >> Christian >> >> -- >> "A little learning never caused anyone's head to explode!" >> >> >> "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" >> ------------------------------------------------------------ >> ------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >> things parallel software development, from weekly thought leadership >> blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > ------------------------------------------------------------ > ------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Thomas C. <tca...@gm...> - 2015-04-01 13:17:57
|
Make sure you have `freetype-dev` installed at the system level. Tom On Wed, Apr 1, 2015 at 8:02 AM Christian Ambros <am...@ym...> wrote: > Hi, > > I'm facing the same trouble with installing matplotlib 1.4.3 and 1.5.dev1. > running > > python3 setup.py build > > in the unarchived directory gives this: > > ============================================================================ > Edit setup.cfg to change the build options > > 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.9.2] > 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/ambrosc/Downloads/matplotlib-master/setupext.py", line 900, > in check > min_version='2.3', version=version) > File "/home/ambrosc/Downloads/matplotlib-master/setupext.py", line 446, > in _check_for_pkg_config > if (not is_min_version(version, min_version)): > File "/home/ambrosc/Downloads/matplotlib-master/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() > > I'm running Linux Mint 17 "Quina" which is based on Ubuntu's trusty > packges. > > pip3 is up to date. Running > print(setuptools.__file__) > > gives: /usr/local/lib/python3.4/dist-packages/setuptools/__init__.py which > is as expected. > > Using pip3 install matplotlib --upgrade #even to 1.4.3 > get's me this: > > > Collecting matplotlib from > https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267 > Downloading matplotlib-1.4.3.tar.gz (50.4MB) > 100% |################################| 50.4MB 8.0kB/s > Traceback (most recent call last): > File "<string>", line 20, in <module> > File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in > <module> > result = package.check() > File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, in > check > min_version='2.3', version=version) > File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, in > _check_for_pkg_config > if (not is_min_version(version, min_version)): > File "/tmp/pip-build-sezmzam8/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() > > ============================================================================ > Edit setup.cfg to change the build options > BUILDING MATPLOTLIB > matplotlib: yes [1.4.3] > 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.9.2] > 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] > pycxx: yes [Official versions of PyCXX are not > compatible > with matplotlib on Python 3.x, since they lack > support for the buffer object. Using local > copy] > libagg: yes [Requires patches that have not been merged > upstream. Using local copy.] > Complete output from command python setup.py egg_info: > Traceback (most recent call last): > > File "<string>", line 20, in <module> > > File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in > <module> > > result = package.check() > > File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, in > check > > min_version='2.3', version=version) > > File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, in > _check_for_pkg_config > > if (not is_min_version(version, min_version)): > > File "/tmp/pip-build-sezmzam8/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() > > > ============================================================================ > > Edit setup.cfg to change the build options > > > > BUILDING MATPLOTLIB > > matplotlib: yes [1.4.3] > > 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.9.2] > > 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] > > pycxx: yes [Official versions of PyCXX are not > compatible > > with matplotlib on Python 3.x, since they lack > > support for the buffer object. Using local > copy] > > libagg: yes [Requires patches that have not been merged > > upstream. Using local copy.] > > ---------------------------------------- > Command "python setup.py egg_info" failed with error code 1 in > /tmp/pip-build-sezmzam8/matplotlib > Which leads to the same error! > > running python2.7 setup.py egg_info doesn't fail but since I have to use > 3.4.x ant pyqt5.4.x there is no way to use something else than matplotlib > 1.4.3/1.5dev1 because auf the qt5agg backend. > > Any hints on how to get along? > > Christian > > -- > "A little learning never caused anyone's head to explode!" > > > "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" > ------------------------------------------------------------ > ------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Christian A. <am...@ym...> - 2015-04-01 12:01:20
|
Hi, I'm facing the same trouble with installing matplotlib 1.4.3 and 1.5.dev1. running python3 setup.py build in the unarchived directory gives this: ============================================================================ Edit setup.cfg to change the build options 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.9.2] 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/ambrosc/Downloads/matplotlib-master/setupext.py", line 900, in check min_version='2.3', version=version) File "/home/ambrosc/Downloads/matplotlib-master/setupext.py", line 446, in _check_for_pkg_config if (not is_min_version(version, min_version)): File "/home/ambrosc/Downloads/matplotlib-master/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() I'm running Linux Mint 17 "Quina" which is based on Ubuntu's trusty packges. pip3 is up to date. Running print(setuptools.__file__) gives: /usr/local/lib/python3.4/dist-packages/setuptools/__init__.py which is as expected. Using pip3 install matplotlib --upgrade #even to 1.4.3get's me this: Collecting matplotlib from https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz#md5=86af2e3e3c61849ac7576a6f5ca44267 Downloading matplotlib-1.4.3.tar.gz (50.4MB) 100% |################################| 50.4MB 8.0kB/s Traceback (most recent call last): File "<string>", line 20, in <module> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in <module> result = package.check() File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, in check min_version='2.3', version=version) File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, in _check_for_pkg_config if (not is_min_version(version, min_version)): File "/tmp/pip-build-sezmzam8/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() ============================================================================ Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [1.4.3] 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.9.2] 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] pycxx: yes [Official versions of PyCXX are not compatible with matplotlib on Python 3.x, since they lack support for the buffer object. Using local copy] libagg: yes [Requires patches that have not been merged upstream. Using local copy.] Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 20, in <module> File "/tmp/pip-build-sezmzam8/matplotlib/setup.py", line 155, in <module> result = package.check() File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 961, in check min_version='2.3', version=version) File "/tmp/pip-build-sezmzam8/matplotlib/setupext.py", line 445, in _check_for_pkg_config if (not is_min_version(version, min_version)): File "/tmp/pip-build-sezmzam8/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() ============================================================================ Edit setup.cfg to change the build options BUILDING MATPLOTLIB matplotlib: yes [1.4.3] 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.9.2] 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] pycxx: yes [Official versions of PyCXX are not compatible with matplotlib on Python 3.x, since they lack support for the buffer object. Using local copy] libagg: yes [Requires patches that have not been merged upstream. Using local copy.] ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sezmzam8/matplotlib Which leads to the same error! running python2.7 setup.py egg_info doesn't fail but since I have to use 3.4.x ant pyqt5.4.x there is no way to use something else than matplotlib 1.4.3/1.5dev1 because auf the qt5agg backend. Any hints on how to get along? Christian -- "A little learning never caused anyone's head to explode!" "Ein wenig Lernen hat noch niemandens Kopf zum Explodieren gebracht!" |