0
我試圖在python3.4下安裝一個包含python3.4 -m pip install jieba
的包,而我已經有了2.7。在python下安裝包時出現錯誤3
然後,我有這個錯誤
> Collecting jieba
Using cached jieba-0.38.zip
Building wheels for collected packages: jieba
Exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/commands/install.py", line 293, in run
wb.build(autobuilding=True)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/wheel.py", line 756, in build
ensure_dir(output_dir)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/utils/__init__.py", line 70, in ensure_dir
os.makedirs(path)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/os.py", line 227, in makedirs
makedirs(head, mode, exist_ok)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/os.py", line 227, in makedirs
makedirs(head, mode, exist_ok)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/os.py", line 227, in makedirs
makedirs(head, mode, exist_ok)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/os.py", line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/Users/apple/Library/Caches/pip/wheels/fd'
你在你的例子在3.2安裝它安裝點子。 –
thx!現在改變了 – Lucia