graphlab 설치 중 예외/OS 오류

graphlab 설치 중 예외/OS 오류

내 컴퓨터에 graphlab을 설치하려고 했는데 계속 오류가 발생했습니다. 다음 명령을 사용했습니다.

pip 설치 graphlab-create

그런 다음 대부분의 설치 과정을 실행하지만 다음과 같은 예외 및 오류 목록이 표시됩니다.

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'

도와주세요! 기존 boto 설치가 문제인지 아닌지 잘 모르겠어서 포함시켰습니다. 어떤 조언이라도 감사드립니다.

편집하다:

AB의 요청에 따라 다음 정보를 추가했습니다.

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: -

답변1

의 출력에서 ​​볼 수 있듯이 에는 필요한 액세스 권한 stat /home/catman/anaconda2/lib/python2.7/site-packages/boto-2.38.0-py2.7.egg-info만 있습니다.root

잘못된 소유자 및 그룹을 수정하십시오.

sudo chown -R $USER:$USER /home/catman/anaconda2

관련 정보