Ich bin gerade dabei auf 22.04 Jammy umzusteigen, da passiert folgendes:
# pip3 install googlemaps
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/googlemaps/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/googlemaps/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/googlemaps/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/googlemaps/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/googlemaps/
ERROR: Could not find a version that satisfies the requirement googlemaps (from versions: none)
ERROR: No matching distribution found for googlemaps
Ich will systemweit installieren und installiere als root:
pip3 install geopy
pip3 install gpxpy
pip3 install exifread
pip3 install tzwhere
pip3 install pycountry
pip3 install googlemaps
Googlemaps wird also nicht gefunden und alle anderen Installationen waren ähnlich problemisch wie die folgende, gingen aber durch:
# pip3 install pycountry
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/pycountry/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/pycountry/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/pycountry/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/pycountry/
Collecting pycountry
Downloading pycountry-22.3.5.tar.gz (10.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 8.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from pycountry) (59.6.0)
Building wheels for collected packages: pycountry
Building wheel for pycountry (pyproject.toml) ... done
Created wheel for pycountry: filename=pycountry-22.3.5-py2.py3-none-any.whl size=10681845 sha256=69eb0a88cc84e19325d67484187f6ea934d470e8442156c9b9a39ae87c1f16d9
Stored in directory: /root/.cache/pip/wheels/03/57/cc/290c5252ec97a6d78d36479a3c5e5ecc76318afcb241ad9dbe
Successfully built pycountry
Installing collected packages: pycountry
Successfully installed pycountry-22.3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Ist das jetzt nur ein temporäres Problem, oder ist das was ernstes?
Edit:
Nach einem 3. Versuch ging es durch und nun viel schneller als bei den anderen davor.
# pip3 install googlemaps
Collecting googlemaps
Downloading googlemaps-4.6.0.tar.gz (31 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: requests<3.0,>=2.20.0 in /usr/lib/python3/dist-packages (from googlemaps) (2.25.1)
Building wheels for collected packages: googlemaps
Building wheel for googlemaps (setup.py) ... done
Created wheel for googlemaps: filename=googlemaps-4.6.0-py3-none-any.whl size=38554 sha256=57022215af567a7323766f4883fc9bea611b319e657572c6bd4e831990cc2999
Stored in directory: /root/.cache/pip/wheels/cc/e2/8e/4e9b9e41c62fdbcaddcbcdbfc840d40230beab3d2e321231a7
Successfully built googlemaps
Installing collected packages: googlemaps
Successfully installed googlemaps-4.6.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager.