I have a frequent issue with python packages, in this case with conda updating packages:
ipython update
user:~$ conda update ipython
Proceed ([y]/n)? y
Fetching packages ... Error: Could not open u'/home/user/anaconda/pkgs/ipython-2.3.1-py27_0.tar.bz2.part' for writing (seek).00 B/s
ipython notebook update
user:~$ pip install "ipython[notebook]"
--upgrade Downloading/unpacking ipython[notebook] from https://pypi.python.org/packages/2.7/i/ipython/ipython-2.3.1-py27-none-any.whl#md5=14b9c7c5280ded28777559c434947573 Downloading ipython-2.3.1-py27-none-any.whl (2.8MB): 2.8MB downloaded ...
OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/ipython-1.2.1.egg-info'
Storing debug log for failure in /home/user/.pip/pip.log
conda update setuptools
user:~$ conda update setuptools
Fetching package metadata: .. ... Proceed ([y]/n)? y
Fetching packages ... Error: Could not open u'/home/user/anaconda/pkgs/setuptools-7.0-py27_0.tar.bz2.part' for writing (seek).0 B/s user:~$Fetching package metadata: .. ...
Possible Hint:
This could be related to other issue accessing these packages from python script:
Any ideas?
sudo
before each command? I.esudo pip install "ipython[notebook]"
– Rickard B Dec 22 '14 at 22:52sudo: conda: command not found $sudo
which conda
update setuptools ==> Error: Could not open u'/home/user/anaconda/pkgs/setuptools-7.0-py27_0.tar.bz2.part' for writing (seek).0 B/s – AJN Dec 23 '14 at 01:01~/anaconda/bin/conda
to/usr/local/bin
to get it to work. You can do a hardlink withsudo ln ~/anaconda/bin/conda /usr/local/bin/
– Rickard B Dec 27 '14 at 23:37