Archlinux pip 和 setuptools 未升级

2023-12-21

终端命令:

python -V output: Python 3.5.2

我想pip and setuptools更新于pycharm但发生了这个错误:

错误:找不到 python 打包工具“pip”。

建议的解决方案:

尝试从系统终端运行此命令。确保您使用为位于“/usr/bin/python3.5”的 Python 解释器安装的正确版本的“pip”。

终端命令:

which pip output: usr/bin/pip

我正在尝试终端命令:

pacman -S(or -Syu,-Syy) python-pip or pacman -S(-Syu,-Syy) python-setuptools

resolving dependencies...
looking for conflicting packages...

Packages (5) python-packaging-16.7-1 python-pyparsing-2.1.5-1
             python-setuptools-1:24.0.2-1 python-six-1.10.0-2
             python-pip-8.1.2-1

Total Installed Size: 8.03 MiB

:: Proceed with installation? [Y/n] y
(5/5) checking keys in keyring              [######################] 100%
(5/5) checking package integrity            [######################] 100%
(5/5) loading package files                 [######################] 100%
(5/5) checking for file conflicts           [######################] 100%
error:failed to commit transaction (conflicting files)
python-setuptools: /usr/bin/easy_install exists in filesystem
python-setuptools: /usr/bin/easy_install-3.5 exists in filesystem
python-pip: /usr/bin/pip exists in filesystem
python-pip: /usr/bin/pip3 exists in filesystem
python-pip: /usr/bin/pip3.5 exists in filesystem
Errors occured, no packages were upgraded.

所以我正在尝试:

python -m pip install -U pip

Output :

/usr/bin/python: 没有名为 pip 的模块

如何更新点子?


This https://unix.stackexchange.com/questions/240252/pacman-exists-on-filesystem-error应该管用:

pacman -S --force python-pip and pacman -S --force python-setuptools
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Archlinux pip 和 setuptools 未升级 的相关文章

随机推荐