PIP: Cannot fetch index base URL
Verfasst: Freitag 29. Januar 2016, 07:40
Hallo Leute,
ich habe Probleme mit PIP. Ich kann darüber einfach keine Module beziehen.. Ich arbeite mit Ubuntu 14.04 LTS.
Die Installation von Python und PIP führe ich wie folgt aus:
apt-get install python-pip python-dev build-essential
Output:
Danach:
pip install --upgrade pip
Output:
Der pip.log zeigt nun folgendes:
Hat jemand eine Ahnung, wie ich das beheben kann? Kann das Problem daran liegen, dass ich mit einem Proxy verbunden bin und er deshalb die Seiten nicht ansteuern kann? Mit LYNX kann ich schließlich auch keine Seiten ansteuern...
Lieben Gruß
ich habe Probleme mit PIP. Ich kann darüber einfach keine Module beziehen.. Ich arbeite mit Ubuntu 14.04 LTS.
Die Installation von Python und PIP führe ich wie folgt aus:
apt-get install python-pip python-dev build-essential
Output:
Code: Alles auswählen
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
python-pip ist schon die neueste Version.
build-essential ist schon die neueste Version.
python-dev ist schon die neueste Version.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
linux-headers-3.16.0-50 linux-headers-3.16.0-50-generic
linux-image-3.16.0-50-generic linux-image-extra-3.16.0-50-generic
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 45 nicht aktualisiert.
pip install --upgrade pip
Output:
Code: Alles auswählen
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip in /usr/lib/python2.7/dist-packages
Downloading/unpacking pip
Cleaning up...
No distributions at all found for pip in /usr/lib/python2.7/dist-packages
Storing debug log for failure in /home/pohl/.pip/pip.log
Code: Alles auswählen
------------------------------------------------------------
/usr/local/bin/pip run on Fri Jan 29 07:32:20 2016
Getting page https://pypi.python.org/simple/pip/
Could not fetch URL https://pypi.python.org/simple/pip/: timed out
Will skip URL https://pypi.python.org/simple/pip/ when looking for download links for pip in /usr/lib/python2.7/dist-packages
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: timed out
Will skip URL https://pypi.python.org/simple/ when looking for download links for pip in /usr/lib/python2.7/dist-packages
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for pip in /usr/lib/python2.7/dist-packages:
* https://pypi.python.org/simple/pip/
Getting page https://pypi.python.org/simple/pip/
Could not fetch URL https://pypi.python.org/simple/pip/: timed out
Will skip URL https://pypi.python.org/simple/pip/ when looking for download links for pip in /usr/lib/python2.7/dist-packages
Could not find any downloads that satisfy the requirement pip in /usr/lib/python2.7/dist-packages
Downloading/unpacking pip
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
No distributions at all found for pip in /usr/lib/python2.7/dist-packages
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1177, in prepare_files
raise not_found
DistributionNotFound: No distributions at all found for pip in /usr/lib/python2.7/dist-packages
Lieben Gruß