From: <kei...@bt...> - 2015-03-18 14:01:29
|
kbriggs:~/Downloads/matplotlib-1.4.3> python3 setup.py build ============================================================================ 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.8.2] six: yes [using six version 1.5.2] dateutil: yes [dateutil was not found. It is required for date axis support. pip/easy_install may attempt to install it after matplotlib.] pytz: yes [pytz was not found. pip will attempt to install it after matplotlib.] tornado: yes [tornado was not found. It is required for the WebAgg backend. pip/easy_install may attempt to install it after matplotlib.] 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 [pkg-config information for 'libagg' could not be found. Using local copy.] Traceback (most recent call last): File "setup.py", line 155, in <module> result = package.check() File "/home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py", line 961, in check min_version='2.3', version=version) File "/home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py", line 445, in _check_for_pkg_config if (not is_min_version(version, min_version)): File "/home/kbriggs/Downloads/matplotlib-1.4.3/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() |
From: Benjamin R. <ben...@ou...> - 2015-03-18 14:22:22
|
Please update your install of setuptools. On Wed, Mar 18, 2015 at 10:01 AM, <kei...@bt...> wrote: > kbriggs:~/Downloads/matplotlib-1.4.3> python3 setup.py build > ============================================================================ > 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.8.2] > six: yes [using six version 1.5.2] > dateutil: yes [dateutil was not found. It is required for > date > axis support. pip/easy_install may attempt to > install it after matplotlib.] > pytz: yes [pytz was not found. pip will attempt to > install > it after matplotlib.] > tornado: yes [tornado was not found. It is required for the > WebAgg backend. pip/easy_install may attempt to > install it after matplotlib.] > 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 [pkg-config information for 'libagg' could not > be found. Using local copy.] Traceback (most > recent call last): > File "setup.py", line 155, in <module> > result = package.check() > File "/home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py", line 961, > in check > min_version='2.3', version=version) > File "/home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py", line 445, > in _check_for_pkg_config > if (not is_min_version(version, min_version)): > File "/home/kbriggs/Downloads/matplotlib-1.4.3/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() > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: Thomas C. <tca...@gm...> - 2015-03-18 14:27:06
|
Also see https://github.com/matplotlib/matplotlib/issues/3889 On Wed, Mar 18, 2015 at 10:22 AM Benjamin Root <ben...@ou...> wrote: > Please update your install of setuptools. > > On Wed, Mar 18, 2015 at 10:01 AM, <kei...@bt...> wrote: > >> kbriggs:~/Downloads/matplotlib-1.4.3> python3 setup.py build >> ============================================================================ >> 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.8.2] >> six: yes [using six version 1.5.2] >> dateutil: yes [dateutil was not found. It is required for >> date >> axis support. pip/easy_install may attempt to >> install it after matplotlib.] >> pytz: yes [pytz was not found. pip will attempt to >> install >> it after matplotlib.] >> tornado: yes [tornado was not found. It is required for the >> WebAgg backend. pip/easy_install may attempt to >> install it after matplotlib.] >> 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 [pkg-config information for 'libagg' could not >> be found. Using local copy.] Traceback (most >> recent call last): >> File "setup.py", line 155, in <module> >> result = package.check() >> File "/home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py", line 961, >> in check >> min_version='2.3', version=version) >> File "/home/kbriggs/Downloads/matplotlib-1.4.3/setupext.py", line 445, >> in _check_for_pkg_config >> if (not is_min_version(version, min_version)): >> File "/home/kbriggs/Downloads/matplotlib-1.4.3/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() >> >> >> >> ------------------------------------------------------------------------------ >> 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-devel mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> > > ------------------------------------------------------------ > ------------------ > 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-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: keithbriggs <kei...@bt...> - 2015-03-18 15:27:18
|
The Ubuntu package manager tells me it is up to date. If I download setuptools-14.3 and install, it goes into /usr/local/lib/ and doesn't get used. How do I force it to be used? Or am I supposed to override the Ubuntu package manager? Keith -- View this message in context: http://matplotlib.1069221.n5.nabble.com/1-4-3-does-not-build-on-Ubuntu-14-with-python3-tp45198p45201.html Sent from the matplotlib - devel mailing list archive at Nabble.com. |
From: Benjamin R. <ben...@ou...> - 2015-03-18 15:34:26
|
I would just use pip. Ubuntu/Debian has really messed up the python environment in more ways than one. On Wed, Mar 18, 2015 at 11:08 AM, keithbriggs <kei...@bt...> wrote: > The Ubuntu package manager tells me it is up to date. > If I download setuptools-14.3 and install, it goes into /usr/local/lib/ and > doesn't get used. > How do I force it to be used? > Or am I supposed to override the Ubuntu package manager? > Keith > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/1-4-3-does-not-build-on-Ubuntu-14-with-python3-tp45198p45201.html > Sent from the matplotlib - devel mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: <kei...@bt...> - 2015-03-18 15:41:27
|
pip still thinks I have the latest. I think it's a question of how to force the matplotlib setup.py to use actually it. Keith kbriggs:~/Downloads/matplotlib-1.4.3> sudo pip3 install setuptools --upgrade Requirement already up-to-date: setuptools in /usr/local/lib/python3.4/dist-packages/setuptools-14.3-py3.4.egg Cleaning up... ________________________________________ From: ben...@gm... [ben...@gm...] On Behalf Of Benjamin Root [ben...@ou...] Sent: 18 March 2015 15:33 To: Briggs,KM,Keith,TUB2 R Cc: matplotlib development list Subject: Re: [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3 I would just use pip. Ubuntu/Debian has really messed up the python environment in more ways than one. On Wed, Mar 18, 2015 at 11:08 AM, keithbriggs <kei...@bt...<mailto:kei...@bt...>> wrote: The Ubuntu package manager tells me it is up to date. If I download setuptools-14.3 and install, it goes into /usr/local/lib/ and doesn't get used. How do I force it to be used? Or am I supposed to override the Ubuntu package manager? Keith |
From: Benjamin R. <ben...@ou...> - 2015-03-18 16:58:46
|
Keith, Back to the issue at hand. could you do the following? import setuptools print(setuptools.__file__) It would be interesting to see if that path differs from the path of the egg you just listed. Ben On Wed, Mar 18, 2015 at 11:39 AM, <kei...@bt...> wrote: > pip still thinks I have the latest. I think it's a question of how to > force the matplotlib setup.py to use actually it. > Keith > > kbriggs:~/Downloads/matplotlib-1.4.3> sudo pip3 install setuptools > --upgrade > Requirement already up-to-date: setuptools in > /usr/local/lib/python3.4/dist-packages/setuptools-14.3-py3.4.egg > Cleaning up... > > ________________________________________ > From: ben...@gm... [ben...@gm...] On Behalf Of Benjamin > Root [ben...@ou...] > Sent: 18 March 2015 15:33 > To: Briggs,KM,Keith,TUB2 R > Cc: matplotlib development list > Subject: Re: [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with > python3 > > I would just use pip. Ubuntu/Debian has really messed up the python > environment in more ways than one. > > On Wed, Mar 18, 2015 at 11:08 AM, keithbriggs <kei...@bt...<mailto: > kei...@bt...>> wrote: > The Ubuntu package manager tells me it is up to date. > If I download setuptools-14.3 and install, it goes into /usr/local/lib/ and > doesn't get used. > How do I force it to be used? > Or am I supposed to override the Ubuntu package manager? > Keith > > > > > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: Sandro T. <mo...@de...> - 2015-03-18 15:43:54
|
On Wed, Mar 18, 2015 at 3:33 PM, Benjamin Root <ben...@ou...> wrote: > I would just use pip. Ubuntu/Debian has really messed up the python > environment in more ways than one. <debian developer hat=on/> ehm... either you back up your claims (and/or try to understand the reasons behind the distro needs) or maybe i would not output such a strong statement. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |
From: Benjamin R. <ben...@ou...> - 2015-03-18 15:52:25
|
Let's not turn this into a flame war and let's figure out why this user's setuptools is not being recognized properly. We can discuss my experience with python2.7 on 12.04 LTS off-list, if you wish (i personally switched to miniconda to avoid the hassle). On Wed, Mar 18, 2015 at 11:43 AM, Sandro Tosi <mo...@de...> wrote: > On Wed, Mar 18, 2015 at 3:33 PM, Benjamin Root <ben...@ou...> wrote: > > I would just use pip. Ubuntu/Debian has really messed up the python > > environment in more ways than one. > > <debian developer hat=on/> ehm... either you back up your claims > (and/or try to understand the reasons behind the distro needs) or > maybe i would not output such a strong statement. > > Regards, > -- > Sandro Tosi (aka morph, morpheus, matrixhasu) > My website: http://matrixhasu.altervista.org/ > Me at Debian: http://wiki.debian.org/SandroTosi > > > ------------------------------------------------------------------------------ > 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-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: Sandro T. <mo...@de...> - 2015-03-18 16:03:36
|
On Wed, Mar 18, 2015 at 3:51 PM, Benjamin Root <ben...@ou...> wrote: > Let's not turn this into a flame war and let's figure out why this user's > setuptools is not being recognized properly. We can discuss my experience > with python2.7 on 12.04 LTS off-list, if you wish (i personally switched to > miniconda to avoid the hassle). I agree, but you started it :) also if you had problems with Ubuntu, I would have avoided to bring Debian in the discussion - case closed for me. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |