[問題] pip install pyinstaller fail
各位先進大家好:
新手今天在安裝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
→
01/08 19:34,
8年前
, 1F
01/08 19:34, 1F
→
01/08 20:15,
8年前
, 2F
01/08 20:15, 2F
感謝回覆,我後來改用 pip3 install 就ok 了
※ 編輯: DNSKHY (1.171.218.26), 01/09/2018 17:21:18
推
01/11 10:05,
8年前
, 3F
01/11 10:05, 3F
推
01/11 23:38,
8年前
, 4F
01/11 23:38, 4F
→
01/11 23:39,
8年前
, 5F
01/11 23:39, 5F
→
01/11 23:40,
8年前
, 6F
01/11 23:40, 6F
Python 近期熱門文章
PTT數位生活區 即時熱門文章
11
12