|
From: Benjamin R. <ben...@ou...> - 2015-03-18 18:01:36
|
For my part, I didn't take Keith's comment as antagonizing. If anything, I should apologize to Sandro. It was not necessary for me to drag Debian into this, because all I know is that I was having issues on Ubuntu. Ben Root On Wed, Mar 18, 2015 at 1:51 PM, Thomas Caswell <tca...@gm...> wrote: > We do support ubuntu, travis.ci (which we use for continuous integration > testing) is ubuntu based and my main development box is ubuntu (but I > mostly work inside conda environments rather than virtualenvs these days). > Even though it is the worst thing for a dev to say, 'it works on my > machine'. > > Part of the problem here is that it looks like you are doing system-wide > installations from source so you have almost certainly driven your system > into an inconsistent state. Unless you know enough sys-admin magic to > ensure you won't step on the toes of the system packages, I strongly > suggest _never_ using sudo to install python packages. Either use > venv/conda or install into a directory in your home directory and modify > $PYTHONPATH as needed. > > I know it is frustrating, but there isn't a whole lot we can do to help > you with you knowing exactly what you have done to your system. > > In any case antagonizing the developers and the debian packager is _not_ > the most effective course of action. I assure you all of us are making a > good faith effort to make sure mpl works everywhere. Starting from that > assumption will make all of these conversations go much more smoothly. > Also remember everyone responding to you on this list is a volunteer, > please be respectful of our time and energy. > > Tom > > On Wed, Mar 18, 2015 at 1:27 PM Benjamin Root <ben...@ou...> wrote: > >> 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:ke >>> ith...@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:keith. >>> br...@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:Matplot >>> lib...@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-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > |