That directory has the following files:Now "echo $PYTHONPATH" returns: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
/home/shankar/.local/lib/python2.6/site-packages
ls /home/shankar/.local/lib/python2.6/site-packages
easy-install.pth setuptools-18.0.1-py2.6.egg setuptools.pthBut 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?CameronOn Wed, Jul 22, 2015 at 2:43 AM, Shankar Agarwal <agarwalshankar@gmail.com> wrote:Now, when I tried "bash install_script.sh", it quits with the same error message (mock requires setuptools>=17.1. Aborting installation).Setuptools installation ended with this message: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 .
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
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_64ThanksShankarOn 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.CameronOn Mon, Jul 20, 2015 at 11:32 PM, Shankar Agarwal <agarwalshankar@gmail.com> wrote:_______________________________________________ShankarThanksHi,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:
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=94ec3b0bea7486018196d59c05ff8645
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 HummelsNSF Postdoctoral FellowDepartment of AstronomyCalifornia Institute of Technology
_______________________________________________
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 HummelsNSF Postdoctoral FellowDepartment of AstronomyCalifornia Institute of Technology
_______________________________________________
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