Installation failure on Linux

User 1933 | 10/13/2015, 6:32:24 PM

Hey guys - I'm trying to install Graphlab via pip on a university machine (where I don't have root access). As suggested, I'm doing this via Anaconda, but it still fails.

Most of the installation proceeds fine, until it hits the cleanup step. Then I get hit with this:

Cleaning up...
Traceback (most recent call last):
  File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/", line 134, in main
    status =, args)
  File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/commands/", line 241, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/", line 1294, in install
  File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/", line 525, in uninstall
  File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/", line 1639, in remove
    renames(path, new_path)
  File "/N/soft/rhel6/python/2.7.3/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/", line 294, in renames
    shutil.move(old, new)
  File "/N/u/jlorince/Karst/miniconda/lib/python2.7/", line 303, in move
OSError: [Errno 13] Permission denied: '/N/soft/rhel6/python/2.7.3/bin/asadmin'

Storing complete log in /N/u/jlorince/Karst/.pip/pip.log

Now, I'm not sure exactly what's going on here, but it looks like things are getting correctly installed to my anaconda directory, but at the end the installer seems to try to unlink system Python files. This then fails because I don't have access to these system directories.

Any idea how to resolve this?


User 1933 | 10/14/2015, 1:59:29 PM

Oh, and this on Red Hat Enterprise Linux Server release 6.7 (Santiago).

User 15 | 10/14/2015, 5:02:51 PM

Hmm. I've seen similar issues, but according to the stack trace, it looks like your pip is based in /N/soft/rhel6/python, and your miniconda is in /N/u/jlorince/Karst/miniconda. But then pip stores its log in /N/u/jlorince again? Are you absolutely sure you are using the pip within /N/u/jlorince (executing it with the full path)?

User 1933 | 10/15/2015, 5:18:39 PM

Yup - just confirmed by explicitly running ~/miniconda/bin/pip install graphlab-create, and got the same error.

User 1178 | 10/17/2015, 7:31:36 PM


You may want to create a conda environment, activate it and then do pip install inside the environment.

    ~/miniconda/bin/conda create --name graphlab python=2.7
    source ~/miniconda/bin/activate graphlab

Thanks! Ping