
He estado intentando instalar Graphlab en mi máquina y sigo teniendo errores. Usé el siguiente comando:
instalación de pip creación de Graphlab
y luego ejecuta la mayor parte de la instalación, pero luego arroja la siguiente lista de excepciones y errores:
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 ayuda! No estoy seguro de si la instalación existente de boto también es un problema o no, así que la incluí. Agradezco cualquier consejo.
Editar:
Según lo solicitado por AB, agregué la siguiente información:
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: -
Respuesta1
Como puede ver en el resultado de stat /home/catman/anaconda2/lib/python2.7/site-packages/boto-2.38.0-py2.7.egg-info
, solo root
tiene los derechos de acceso necesarios.
Corrija el propietario y el grupo incorrectos:
sudo chown -R $USER:$USER /home/catman/anaconda2