
Ich habe versucht, Graphlab auf meinem Computer zu installieren, aber es treten immer wieder Fehler auf. Ich habe den folgenden Befehl verwendet:
pip install graphlab-create
Anschließend führt es den größten Teil der Installation aus, spuckt dann aber die folgende Liste von Ausnahmen und Fehlern aus:
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'
Bitte helfen Sie! Ich bin mir nicht sicher, ob die vorhandene Installation von Boto ein Problem darstellt oder nicht, deshalb habe ich sie mit aufgenommen. Ich bin für jeden Rat dankbar.
Bearbeiten:
Wie von AB angefordert, habe ich die folgenden Informationen hinzugefügt:
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: -
Antwort1
Wie Sie in der Ausgabe von sehen können stat /home/catman/anaconda2/lib/python2.7/site-packages/boto-2.38.0-py2.7.egg-info
, verfügt nur root
über die erforderlichen Zugriffsrechte.
Korrigieren Sie den falschen Besitzer und die falsche Gruppe:
sudo chown -R $USER:$USER /home/catman/anaconda2