
Tenho tentado instalar o graphlab na minha máquina e continuo encontrando erros. Usei o seguinte comando:
pip instalar graphlab-criar
e ele executa a maior parte da instalação, mas depois vomita a seguinte lista de exceções e erros:
Found existing installation: boto 2.38.0
DEPRECATION: Uninstalling a distutils installed project (boto) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling boto-2.38.0:
Exception:
Traceback (most recent call last):
File "/home/catman/anaconda2/lib/python2.7/site-packages/pip/basecommand.py", line 211, in main
status = self.run(options, args)
File "/home/catman/anaconda2/lib/python2.7/site-packages/pip/commands/install.py", line 311, in run
root=options.root_path,
File "/home/catman/anaconda2/lib/python2.7/site-packages/pip/req/req_set.py", line 640, in install
requirement.uninstall(auto_confirm=True)
File "/home/catman/anaconda2/lib/python2.7/site-packages/pip/req/req_install.py", line 716, in uninstall
paths_to_remove.remove(auto_confirm)
File "/home/catman/anaconda2/lib/python2.7/site-packages/pip/req/req_uninstall.py", line 125, in remove
renames(path, new_path)
File "/home/catman/anaconda2/lib/python2.7/site-packages/pip/utils/__init__.py", line 315, in renames
shutil.move(old, new)
File "/home/catman/anaconda2/lib/python2.7/shutil.py", line 303, in move
os.unlink(src)
OSError: [Errno 13] Permission denied: '/home/catman/anaconda2/lib/python2.7/site-packages/boto-2.38.0-py2.7.egg-info'
Por favor ajude! Não tenho certeza se a instalação existente do boto é um problema ou não, então incluí isso. Agradeço qualquer conselho.
Editar:
Conforme solicitado pela AB, adicionei as seguintes informações:
File: ‘/home/catman/anaconda2/lib/python2.7/site-packages/boto-2.38.0-py2.7.egg-info’
Size: 8590 Blocks: 24 IO Block: 4096 regular file
Device: 802h/2050d Inode: 25827741 Links: 2
Access: (0664/-rw-rw-r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2015-11-05 12:51:31.373372011 +0700
Modify: 2015-04-24 04:06:03.000000000 +0700
Change: 2015-11-05 09:39:58.559261464 +0700
Birth: -
Responder1
Como você pode ver na saída de stat /home/catman/anaconda2/lib/python2.7/site-packages/boto-2.38.0-py2.7.egg-info
, possui apenas root
os direitos de acesso necessários.
Corrija o proprietário e o grupo errados:
sudo chown -R $USER:$USER /home/catman/anaconda2