Shankar,

Please see the discussion here:

http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2015-July/027891.html

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.


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=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 Hummels
NSF Postdoctoral Fellow
Department of Astronomy
California 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 Hummels
NSF Postdoctoral Fellow
Department of Astronomy
California 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