Ich habe eine Maschine, Python 2.7 und Python 3.4 installiert hat. Normalerweise würde ich zur Installation von Paketen unter Python 3.4 pip3 install [PACKAGE]
ausführen.Python Cant Run oder Neuinstallation Pip
Aber jetzt, wenn ich pip3
laufen bekomme ich
Traceback (most recent call last):
File "/volume1/@appstore/python3/bin/pip3", line 7, in <module>
from pip import main
File "/usr/local/python3/lib/python3.4/site-packages/pip/__init__.py", line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/local/python3/lib/python3.4/site-packages/pip/vcs/subversion.py", line 9, in <module>
from pip.index import Link
File "/usr/local/python3/lib/python3.4/site-packages/pip/index.py", line 30, in <module>
from pip.wheel import Wheel, wheel_ext
File "/usr/local/python3/lib/python3.4/site-packages/pip/wheel.py", line 32, in <module>
from pip import pep425tags
File "/usr/local/python3/lib/python3.4/site-packages/pip/pep425tags.py", line 335, in <module>
supported_tags = get_supported()
File "/usr/local/python3/lib/python3.4/site-packages/pip/pep425tags.py", line 307, in get_supported
elif is_manylinux1_compatible():
File "/usr/local/python3/lib/python3.4/site-packages/pip/pep425tags.py", line 163, in is_manylinux1_compatible
return have_compatible_glibc(2, 5)
File "/usr/local/python3/lib/python3.4/site-packages/pip/pep425tags.py", line 187, in have_compatible_glibc
version = [int(piece) for piece in version_str.split(".")]
File "/usr/local/python3/lib/python3.4/site-packages/pip/pep425tags.py", line 187, in <listcomp>
version = [int(piece) for piece in version_str.split(".")]
ValueError: invalid literal for int() with base 10: '20-2014'
Auch wenn ich get-pip.py
herunterladen und ausführen python3 get-pip.py
, ich den gleichen Fehler.
Was könnte das Problem sein?
Edit: Offenbar ist dies ein Problem, das auf Synology-Installationen persistent ist, wenn Sie DSM 6.0 installierten.
ich denke, es bedeutet, dass die relativ neue 'pep425tags.py' fehlerhaft ist ... –
Was Version von Pip benutzen Sie? –
Was passiert, wenn Sie versuchen, 'pip --python = python3 install -U pip' zu installieren? –