1.4.3 does not build on Ubuntu 14 with python3

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

1.4.3 does not build on Ubuntu 14 with python3

keithbriggs
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

Benjamin Root-2
Please update your install of setuptools.

On Wed, Mar 18, 2015 at 10:01 AM, <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

tcaswell

On Wed, Mar 18, 2015 at 10:22 AM Benjamin Root <[hidden email]> wrote:
Please update your install of setuptools.

On Wed, Mar 18, 2015 at 10:01 AM, <[hidden email]> 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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

keithbriggs
In reply to this post by Benjamin Root-2
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
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

Benjamin Root-2
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 <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

keithbriggs
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: [hidden email] [[hidden email]] On Behalf Of Benjamin Root [[hidden email]]
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 <[hidden email]<mailto:[hidden email]>> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

Sandro Tosi-4
In reply to this post by Benjamin Root-2
On Wed, Mar 18, 2015 at 3:33 PM, Benjamin Root <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

Benjamin Root-2
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 <[hidden email]> wrote:
On Wed, Mar 18, 2015 at 3:33 PM, Benjamin Root <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

Sandro Tosi-4
On Wed, Mar 18, 2015 at 3:51 PM, Benjamin Root <[hidden email]> 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

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Reply | Threaded
Open this post in threaded view
|

Re: 1.4.3 does not build on Ubuntu 14 with python3

Benjamin Root-2
In reply to this post by keithbriggs
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, <[hidden email]> 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: [hidden email] [[hidden email]] On Behalf Of Benjamin Root [[hidden email]]
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 <[hidden email]<mailto:[hidden email]>> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel