One thing I just noticed is that python3.4 and the distutils libraries are
installed at /usr/lib/python3.4/distutils/, but the setuptools is located
at /usr/local/lib/python3.4/dist-packages/. One of the oddities of
setuptools is that it monkey-patches distutils, if I understand it
correctly, so perhaps it isn't doing it correctly for some reason? I
haven't a clue, really.

This oddity in directory structures was actually one thing I noticed in
Ubuntu last summer/fall for py2.7 that broke a lot of things for me. I was
in a rush at the time, so I just switched to anaconda, nuked everything
python in my .local and moved on. That is always an option here, but it
would be nice to get to the bottom of this as well.

Ben Root

On Wed, Mar 18, 2015 at 1:03 PM, <keith.bri...@bt.com> wrote:

> Ben: thanks for your help - it's very much appreciated!
> Keith
>
> kbriggs:~/Downloads/matplotlib-1.4.3> python3
> Python 3.4.0 (default, Apr 11 2014, 13:05:11)
> [GCC 4.8.2] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
> >>> import setuptools
> >>> print(setuptools.__file__)
>
> /usr/local/lib/python3.4/dist-packages/setuptools-14.3-py3.4.egg/setuptools/__init__.py
> >>>
>
>
> kbriggs:~/Downloads/matplotlib-1.4.3> python
> Python 2.7.6 (default, Mar 22 2014, 22:59:56)
> [GCC 4.8.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
> >>> import setuptools
> >>> print(setuptools.__file__)
> /usr/lib/python2.7/dist-packages/setuptools/__init__.pyc
> >>>
>
>
> ________________________________________
> From: ben.v.r...@gmail.com [ben.v.r...@gmail.com] On Behalf Of Benjamin
> Root [ben.r...@ou.edu]
> Sent: 18 March 2015 16:58
> 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
>
> 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, <keith.bri...@bt.com<mailto:
> keith.bri...@bt.com>> 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.v.r...@gmail.com<mailto:ben.v.r...@gmail.com> [
> ben.v.r...@gmail.com<mailto:ben.v.r...@gmail.com>] On Behalf Of Benjamin
> Root [ben.r...@ou.edu<mailto:ben.r...@ou.edu>]
> 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 <keith.bri...@bt.com<mailto:
> keith.bri...@bt.com><mailto:keith.bri...@bt.com<mailto:keith.bri...@bt.com>>>
> 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
> matplotlib-de...@lists.sourceforge.net<mailto:
> matplotlib-de...@lists.sourceforge.net>
> 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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to