[問題] archlinux 下 python3 pip 掛掉無法使用
現在使用 pip 都無法安裝東西
跳出這個 trace code...
Traceback (most recent call last):
File "setup.py", line 15, in <module>
from setuptools import setup
File "/usr/lib/python3.5/site-packages/setuptools/__init__.py", line 11, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "/usr/lib/python3.5/site-packages/setuptools/extern/__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 69, in <module>
__import__('pkg_resources.extern.packaging.version')
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 658, in exec_module
File "<frozen importlib._bootstrap_external>", line 762, in get_code
File "<frozen importlib._bootstrap_external>", line 473, in _compile_bytecode
SystemError: Objects/codeobject.c:74: bad argument to internal function
不知道是那方面的問題 Q—Q
> yaourt -Qs python-pip
extra/python-pip 8.1.2-1
The PyPA recommended tool for installing Python packages
> yaourt -Qs python-setuptools
extra/python-setuptools 1:21.2.1-1
Easily download, build, install, upgrade, and uninstall Python packages
希望各位能指點一下方向
------------------------------------
05/31修復完畢
參考
https://bbs.archlinux.org/viewtopic.php?id=209485
yaourt -S python-packaging
> pip
Usage:
pip <command> [options]
Commands:
install Install packages.
download Download packages.
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.254.108.250
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1464528396.A.556.html
※ 編輯: grapherd (111.254.108.250), 05/29/2016 21:26:51
※ 編輯: grapherd (27.247.101.76), 05/31/2016 00:19:27
Python 近期熱門文章
PTT數位生活區 即時熱門文章