為什麼這篇pyinstaller安裝失敗鄉民發文收入到精華區:因為在pyinstaller安裝失敗這個討論話題中,有許多相關的文章在討論,這篇最有參考價值!作者DNSKHY (平生無大志,但求拾叁趴)看板Python標題[問題] pip install p...
各位先進大家好:
新手今天在安裝pyinstaller 時一直失敗,不知是否有人知道問題在哪?
系統: Mac OS 10.12.6
Python version 3.6.2
顯示訊息如下
Collecting pyinstaller
Using cached PyInstaller-3.3.1.tar.gz
Requirement already satisfied: setuptools in /System/Library/Frameworks/Python
.f
Requirement already satisfied: pefile>=2017.8.1 in /Library/Python/2.7/site-pa
ck
Collecting macholib>=1.8 (from pyinstaller)
Using cached macholib-1.9-py2.py3-none-any.whl
Collecting dis3 (from pyinstaller)
Using cached dis3-0.1.2.tar.gz
Requirement already satisfied: future in /Library/Python/2.7/site-packages (fr
om
Collecting altgraph>=0.15 (from macholib>=1.8->pyinstaller)
Using cached altgraph-0.15-py2.py3-none-any.whl
Installing collected packages: altgraph, macholib, dis3, pyinstaller
Found existing installation: altgraph 0.10.2
Uninstalling altgraph-0.10.2:
(以下紅字)
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.
py
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/ins
ta
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.
py
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_inst
al
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_unin
st
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init
__
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/s
copytree(src, real_dst, symlinks=True)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/s
raise Error, errors
Error: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/
py
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/a
lt
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.171.209.119
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1515410815.A.2D9.html
※ 編輯: DNSKHY (1.171.218.26), 01/09/2018 17:21:18