作者grapherd (GrD)
看板Python
标题[问题] archlinux 下 python3 pip 挂掉无法使用
时间Sun May 29 21:26:34 2016
现在使用 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://webptt.com/cn.aspx?n=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