|
From: Benjamin R. <ben...@ou...> - 2015-03-18 17:26:07
|
We would too. This is the first time I have seen updating setuptools not work. That was the fix... I have no clue why it is broken on your system. On Wed, Mar 18, 2015 at 1:20 PM, <kei...@bt...> wrote: > Ok, I will check out anaconda anyway. > > > > I would think that the matplotlib maintainers would want to make sure they > support the very popular Ubuntu platform, even if a workaround for a bug > elsewhere is needed. > > > > K > > > > > > *From:* ben...@gm... [mailto:ben...@gm...] *On Behalf Of *Benjamin > Root > *Sent:* 18 March 2015 17:17 > *To:* Briggs,KM,Keith,TUB2 R; Matplotlib Users > > *Subject:* Re: [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with > python3 > > > > 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, <kei...@bt...> 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...@gm... [ben...@gm...] On Behalf Of Benjamin > Root [ben...@ou...] > 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, <kei...@bt...<mailto: > 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...<mailto:ben...@gm...> [ > ben...@gm...<mailto:ben...@gm...>] On Behalf Of Benjamin > Root [ben...@ou...<mailto: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...><mailto: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...<mailto: > Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > > |