Installing matplotlib-1.4.0
Hi, My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html Any idea how may I solve/bypass the following error: Thanks Shankar Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ******************************************** Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1 ********************************************
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada. https://pypi.python.org/pypi/setuptools Cameron On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal <agarwalshankar@gmail.com> wrote:
Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
Hi, I think the dev version of the install script specifically includes setuptools. Should this be backported to the stable install script? Thanks, John
On 21 Jul 2015, at 02:40, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal <agarwalshankar@gmail.com> wrote: Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- John Wise Assistant Professor of Physics Center for Relativistic Astrophysics, Georgia Tech http://cosmo.gatech.edu
Hi John, Yup, and I think we're going to release on Friday, so it should hit then. On Tue, Jul 21, 2015 at 8:57 AM, Wise, John H <jwise@physics.gatech.edu> wrote:
Hi,
I think the dev version of the install script specifically includes setuptools. Should this be backported to the stable install script?
Thanks, John
On 21 Jul 2015, at 02:40, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal <agarwalshankar@gmail.com> wrote: Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- John Wise Assistant Professor of Physics Center for Relativistic Astrophysics, Georgia Tech http://cosmo.gatech.edu
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
It's frustrating that the version of setuptools we implicitly depend on can change (this time due to a dependency of matplotlib) despite the fact that we pin all of our direct dependencies. I'm not sure what we can do about this in general besides get annoyed with the state of Python packaging. On Tuesday, July 21, 2015, Matthew Turk <matthewturk@gmail.com> wrote:
Hi John,
Yup, and I think we're going to release on Friday, so it should hit then.
On Tue, Jul 21, 2015 at 8:57 AM, Wise, John H <jwise@physics.gatech.edu <javascript:;>> wrote:
Hi,
I think the dev version of the install script specifically includes setuptools. Should this be backported to the stable install script?
Thanks, John
On 21 Jul 2015, at 02:40, Cameron Hummels <chummels@gmail.com <javascript:;>> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal < agarwalshankar@gmail.com <javascript:;>> wrote: Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org <javascript:;> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org <javascript:;> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- John Wise Assistant Professor of Physics Center for Relativistic Astrophysics, Georgia Tech http://cosmo.gatech.edu
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org <javascript:;> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org <javascript:;> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Cameron, Ok, I installed setuptools-18.0.1 as follows: 1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py 2. python ez_setup.py --insecure --user . Setuptools installation ended with this message: -------------------------------------------------------------------------------- Installing easy_install script to /obs/shankar/.local/bin Installing easy_install-2.6 script to /obs/shankar/.local/bin Installed /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg Processing dependencies for setuptools==18.0.1 Finished processing dependencies for setuptools==18.0.1 -------------------------------------------------------------------------------- Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation). Do I need to edit install_script.sh somewhere to tell it where setuptools-18.0.1 is? My current directory looks like this: pwd /obs/shankar/codes/yt ls ez_setup.py install_script.sh setuptools-18.0.1.zip yt-x86_64 Thanks Shankar On Tue, Jul 21, 2015 at 8:40 AM, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Perhaps someone else has some insight on this, but I imagine you have to change your $PYTHONPATH environment variable to point at the new setuptools installation before it hits the old one. So if you prepend $PYTHONPATH with the installation directory (ie /home/shankar/.local/lib/ python2.6/site-packages/setuptools-18.0.1-py2.6.egg), that should work? Cameron On Wed, Jul 22, 2015 at 2:43 AM, Shankar Agarwal <agarwalshankar@gmail.com> wrote:
Hi Cameron,
Ok, I installed setuptools-18.0.1 as follows:
1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py 2. python ez_setup.py --insecure --user .
Setuptools installation ended with this message:
-------------------------------------------------------------------------------- Installing easy_install script to /obs/shankar/.local/bin Installing easy_install-2.6 script to /obs/shankar/.local/bin
Installed /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg Processing dependencies for setuptools==18.0.1 Finished processing dependencies for setuptools==18.0.1
--------------------------------------------------------------------------------
Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation).
Do I need to edit install_script.sh somewhere to tell it where setuptools-18.0.1 is?
My current directory looks like this:
pwd /obs/shankar/codes/yt
ls ez_setup.py install_script.sh setuptools-18.0.1.zip yt-x86_64
Thanks Shankar
On Tue, Jul 21, 2015 at 8:40 AM, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
Currently "echo $PYTHONPATH" returns nothing. I added the following lines in my .bash_profile PYTHONPATH=/home/shankar/.local/lib/python2.6/site-packages export PYTHONPATH Now "echo $PYTHONPATH" returns: /home/shankar/.local/lib/python2.6/site-packages That directory has the following files: ls /home/shankar/.local/lib/python2.6/site-packages easy-install.pth setuptools-18.0.1-py2.6.egg setuptools.pth But install_script.sh fails with same message. Thanks anyway. I will ask the sys admins. Shankar On Wed, Jul 22, 2015 at 8:33 PM, Cameron Hummels <chummels@gmail.com> wrote:
Perhaps someone else has some insight on this, but I imagine you have to change your $PYTHONPATH environment variable to point at the new setuptools installation before it hits the old one. So if you prepend $PYTHONPATH with the installation directory (ie /home/shankar/.local/lib/ python2.6/site-packages/setuptools-18.0.1-py2.6.egg), that should work?
Cameron
On Wed, Jul 22, 2015 at 2:43 AM, Shankar Agarwal <agarwalshankar@gmail.com
wrote:
Hi Cameron,
Ok, I installed setuptools-18.0.1 as follows:
1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py 2. python ez_setup.py --insecure --user .
Setuptools installation ended with this message:
-------------------------------------------------------------------------------- Installing easy_install script to /obs/shankar/.local/bin Installing easy_install-2.6 script to /obs/shankar/.local/bin
Installed /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg Processing dependencies for setuptools==18.0.1 Finished processing dependencies for setuptools==18.0.1
--------------------------------------------------------------------------------
Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation).
Do I need to edit install_script.sh somewhere to tell it where setuptools-18.0.1 is?
My current directory looks like this:
pwd /obs/shankar/codes/yt
ls ez_setup.py install_script.sh setuptools-18.0.1.zip yt-x86_64
Thanks Shankar
On Tue, Jul 21, 2015 at 8:40 AM, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Shankar, Please see the discussion here: http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2015-July/027891... I believe this fixed your problem for another user just a few days ago. It's a bit of a strange solution, but apparently successful. Jeff On Wed, Jul 22, 2015 at 4:50 PM Shankar Agarwal <agarwalshankar@gmail.com> wrote:
Currently "echo $PYTHONPATH" returns nothing.
I added the following lines in my .bash_profile
PYTHONPATH=/home/shankar/.local/lib/python2.6/site-packages export PYTHONPATH
Now "echo $PYTHONPATH" returns: /home/shankar/.local/lib/python2.6/site-packages
That directory has the following files: ls /home/shankar/.local/lib/python2.6/site-packages easy-install.pth setuptools-18.0.1-py2.6.egg setuptools.pth
But install_script.sh fails with same message. Thanks anyway. I will ask the sys admins. Shankar
On Wed, Jul 22, 2015 at 8:33 PM, Cameron Hummels <chummels@gmail.com> wrote:
Perhaps someone else has some insight on this, but I imagine you have to change your $PYTHONPATH environment variable to point at the new setuptools installation before it hits the old one. So if you prepend $PYTHONPATH with the installation directory (ie /home/shankar/.local/lib/ python2.6/site-packages/setuptools-18.0.1-py2.6.egg), that should work?
Cameron
On Wed, Jul 22, 2015 at 2:43 AM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi Cameron,
Ok, I installed setuptools-18.0.1 as follows:
1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py 2. python ez_setup.py --insecure --user .
Setuptools installation ended with this message:
-------------------------------------------------------------------------------- Installing easy_install script to /obs/shankar/.local/bin Installing easy_install-2.6 script to /obs/shankar/.local/bin
Installed /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg Processing dependencies for setuptools==18.0.1 Finished processing dependencies for setuptools==18.0.1
--------------------------------------------------------------------------------
Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation).
Do I need to edit install_script.sh somewhere to tell it where setuptools-18.0.1 is?
My current directory looks like this:
pwd /obs/shankar/codes/yt
ls ez_setup.py install_script.sh setuptools-18.0.1.zip yt-x86_64
Thanks Shankar
On Tue, Jul 21, 2015 at 8:40 AM, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Jeff, Interesting. So the trick is to "suspend install_script.sh after it untarred matplot but before it begins installing dependencies". I gave it a few tries, but could not time the ctrl+z quite right. Is there a way to pause install_script.sh right after it untars matplot? Using "wait xxx seconds" command? I looked into the script but can not find where it untars matplot. By the way, I also tried manually untarring matplot and editing the matplotlib-1.4.0/lib/matplotlib.egg-info/requires.txt file. But when I run install_script.sh it overwrites the requires.txt back to the default. So no luck. Shankar On Wed, Jul 22, 2015 at 10:52 PM, j s oishi <jsoishi@gmail.com> wrote:
Shankar,
Please see the discussion here:
http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2015-July/027891...
I believe this fixed your problem for another user just a few days ago. It's a bit of a strange solution, but apparently successful.
Jeff
On Wed, Jul 22, 2015 at 4:50 PM Shankar Agarwal <agarwalshankar@gmail.com> wrote:
Currently "echo $PYTHONPATH" returns nothing.
I added the following lines in my .bash_profile
PYTHONPATH=/home/shankar/.local/lib/python2.6/site-packages export PYTHONPATH
Now "echo $PYTHONPATH" returns: /home/shankar/.local/lib/python2.6/site-packages
That directory has the following files: ls /home/shankar/.local/lib/python2.6/site-packages easy-install.pth setuptools-18.0.1-py2.6.egg setuptools.pth
But install_script.sh fails with same message. Thanks anyway. I will ask the sys admins. Shankar
On Wed, Jul 22, 2015 at 8:33 PM, Cameron Hummels <chummels@gmail.com> wrote:
Perhaps someone else has some insight on this, but I imagine you have to change your $PYTHONPATH environment variable to point at the new setuptools installation before it hits the old one. So if you prepend $PYTHONPATH with the installation directory (ie /home/shankar/.local/lib/ python2.6/site-packages/setuptools-18.0.1-py2.6.egg), that should work?
Cameron
On Wed, Jul 22, 2015 at 2:43 AM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi Cameron,
Ok, I installed setuptools-18.0.1 as follows:
1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py 2. python ez_setup.py --insecure --user .
Setuptools installation ended with this message:
-------------------------------------------------------------------------------- Installing easy_install script to /obs/shankar/.local/bin Installing easy_install-2.6 script to /obs/shankar/.local/bin
Installed /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg Processing dependencies for setuptools==18.0.1 Finished processing dependencies for setuptools==18.0.1
--------------------------------------------------------------------------------
Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation).
Do I need to edit install_script.sh somewhere to tell it where setuptools-18.0.1 is?
My current directory looks like this:
pwd /obs/shankar/codes/yt
ls ez_setup.py install_script.sh setuptools-18.0.1.zip yt-x86_64
Thanks Shankar
On Tue, Jul 21, 2015 at 8:40 AM, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Shankar, I did two things to overcome the matplotlib install problem, the first one was right after pip was installed, I paused the installation (crtl-z) and used pip to install mock and setuptools, so when matplotlib is untrared it already finds a version of mock and setuptools that works. The second step was doing what Stuart suggested, pausing the installation right after Installing matplotlib-1.4.4 is printed to screen and modify the ...requires.txt file. Best, Juan ________________________________ From: yt-users [yt-users-bounces@lists.spacepope.org] on behalf of Shankar Agarwal [agarwalshankar@gmail.com] Sent: Wednesday, July 22, 2015 6:06 PM To: Discussion of the yt analysis packageinstall Subject: Re: [yt-users] Installing matplotlib-1.4.0 Jeff, Interesting. So the trick is to "suspend install_script.sh after it untarred matplot but before it begins installing dependencies". I gave it a few tries, but could not time the ctrl+z quite right. Is there a way to pause install_script.sh right after it untars matplot? Using "wait xxx seconds" command? I looked into the script but can not find where it untars matplot. By the way, I also tried manually untarring matplot and editing the matplotlib-1.4.0/lib/matplotlib.egg-info/requires.txt file. But when I run install_script.sh it overwrites the requires.txt back to the default. So no luck. Shankar On Wed, Jul 22, 2015 at 10:52 PM, j s oishi <jsoishi@gmail.com<mailto:jsoishi@gmail.com>> wrote: Shankar, Please see the discussion here: http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2015-July/027891... I believe this fixed your problem for another user just a few days ago. It's a bit of a strange solution, but apparently successful. Jeff On Wed, Jul 22, 2015 at 4:50 PM Shankar Agarwal <agarwalshankar@gmail.com<mailto:agarwalshankar@gmail.com>> wrote: Currently "echo $PYTHONPATH" returns nothing. I added the following lines in my .bash_profile PYTHONPATH=/home/shankar/.local/lib/python2.6/site-packages export PYTHONPATH Now "echo $PYTHONPATH" returns: /home/shankar/.local/lib/python2.6/site-packages That directory has the following files: ls /home/shankar/.local/lib/python2.6/site-packages easy-install.pth setuptools-18.0.1-py2.6.egg setuptools.pth But install_script.sh fails with same message. Thanks anyway. I will ask the sys admins. Shankar On Wed, Jul 22, 2015 at 8:33 PM, Cameron Hummels <chummels@gmail.com<mailto:chummels@gmail.com>> wrote: Perhaps someone else has some insight on this, but I imagine you have to change your $PYTHONPATH environment variable to point at the new setuptools installation before it hits the old one. So if you prepend $PYTHONPATH with the installation directory (ie /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg), that should work? Cameron On Wed, Jul 22, 2015 at 2:43 AM, Shankar Agarwal <agarwalshankar@gmail.com<mailto:agarwalshankar@gmail.com>> wrote: Hi Cameron, Ok, I installed setuptools-18.0.1 as follows: 1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py 2. python ez_setup.py --insecure --user . Setuptools installation ended with this message: -------------------------------------------------------------------------------- Installing easy_install script to /obs/shankar/.local/bin Installing easy_install-2.6 script to /obs/shankar/.local/bin Installed /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg Processing dependencies for setuptools==18.0.1 Finished processing dependencies for setuptools==18.0.1 -------------------------------------------------------------------------------- Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation). Do I need to edit install_script.sh somewhere to tell it where setuptools-18.0.1 is? My current directory looks like this: pwd /obs/shankar/codes/yt ls ez_setup.py install_script.sh setuptools-18.0.1.zip yt-x86_64 Thanks Shankar On Tue, Jul 21, 2015 at 8:40 AM, Cameron Hummels <chummels@gmail.com<mailto:chummels@gmail.com>> wrote: As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada. https://pypi.python.org/pypi/setuptools Cameron On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal <agarwalshankar@gmail.com<mailto:agarwalshankar@gmail.com>> wrote: Hi, My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html Any idea how may I solve/bypass the following error: Thanks Shankar Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ******************************************** Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1 ******************************************** _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org -- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org -- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
On 07/22/2015 03:50 PM, Shankar Agarwal wrote:
Currently "echo $PYTHONPATH" returns nothing.
I added the following lines in my .bash_profile
PYTHONPATH=/home/shankar/.local/lib/python2.6/site-packages export PYTHONPATH
Now "echo $PYTHONPATH" returns: /home/shankar/.local/lib/python2.6/site-packages
That directory has the following files: ls /home/shankar/.local/lib/python2.6/site-packages easy-install.pth setuptools-18.0.1-py2.6.egg setuptools.pth
But install_script.sh fails with same message. Thanks anyway. I will ask the sys admins. Shankar
Hi Shankar, yt comes with python2.7. It won't work with python2.6/site-packages. Could you use development version of install_script.sh [1] instead? It will become "stable" in a matter of days. Cheers, Kacper [1] http://bitbucket.org/yt_analysis/yt/raw/yt/doc/install_script.sh
On Wed, Jul 22, 2015 at 8:33 PM, Cameron Hummels <chummels@gmail.com> wrote:
Perhaps someone else has some insight on this, but I imagine you have to change your $PYTHONPATH environment variable to point at the new setuptools installation before it hits the old one. So if you prepend $PYTHONPATH with the installation directory (ie /home/shankar/.local/lib/ python2.6/site-packages/setuptools-18.0.1-py2.6.egg), that should work?
Cameron
On Wed, Jul 22, 2015 at 2:43 AM, Shankar Agarwal <agarwalshankar@gmail.com
wrote:
Hi Cameron,
Ok, I installed setuptools-18.0.1 as follows:
1. wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py 2. python ez_setup.py --insecure --user .
Setuptools installation ended with this message:
-------------------------------------------------------------------------------- Installing easy_install script to /obs/shankar/.local/bin Installing easy_install-2.6 script to /obs/shankar/.local/bin
Installed /home/shankar/.local/lib/python2.6/site-packages/setuptools-18.0.1-py2.6.egg Processing dependencies for setuptools==18.0.1 Finished processing dependencies for setuptools==18.0.1
--------------------------------------------------------------------------------
Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation).
Do I need to edit install_script.sh somewhere to tell it where setuptools-18.0.1 is?
My current directory looks like this:
pwd /obs/shankar/codes/yt
ls ez_setup.py install_script.sh setuptools-18.0.1.zip yt-x86_64
Thanks Shankar
On Tue, Jul 21, 2015 at 8:40 AM, Cameron Hummels <chummels@gmail.com> wrote:
As per the failure message, you could try installing setuptools with a version more recent than 17.1. You could either install a copy of setuptools locally or request it of the sysadmins on Ada.
https://pypi.python.org/pypi/setuptools
Cameron
On Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal < agarwalshankar@gmail.com> wrote:
Hi,
My yt installation quits at matplotlib. The machine is http://www.idris.fr/eng/ada/ada-presentation-eng.html
Any idea how may I solve/bypass the following error:
Thanks Shankar
Installing distribute Installing pip Installing numpy-1.8.2 Installing matplotlib-1.4.0 ******************************************** FAILURE REPORT: ********************************************
Processing dependencies for matplotlib==1.4.0 Searching for mock Reading http://pypi.python.org/simple/mock/ Best match: mock 1.2.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.2.0.tar.gz#md5=94ec3b0... Processing mock-1.2.0.tar.gz Writing /tmp/easy_install-a12wMg/mock-1.2.0/setup.cfg Running mock-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a12wMg/mock-1.2.0/egg-dist-tmp-1nkTUJ mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1
********************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Cameron Hummels NSF Postdoctoral Fellow Department of Astronomy California Institute of Technology http://chummels.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (8)
-
Cameron Hummels
-
j s oishi
-
Juan Camilo Ibanez Mejia
-
Kacper Kowalik
-
Matthew Turk
-
Nathan Goldbaum
-
Shankar Agarwal
-
Wise, John H