This is shown when I try to build as I always do. As much as I can see Network is working. Manual testing pip3 shows errors to.
pip3 is woking localy.
Removing intermediate container 9a0f51d40810
---> 816a523e2c1e
Step 7/19 : COPY . /srv/webvirtcloud
---> 483ce56e002b
Step 8/19 : RUN chown -R www-data:www-data /srv/webvirtcloud
---> Running in 84c5d63e4f79
Removing intermediate container 84c5d63e4f79
---> 4e6606ec2b24
Step 9/19 : WORKDIR /srv/webvirtcloud
---> Running in 7fb1d61f5505
Removing intermediate container 7fb1d61f5505
---> 1132777c4b91
Step 10/19 : RUN python3 -m venv venv && . venv/bin/activate && pip3 install -U pip && pip3 install wheel && pip3 install -r conf/requirements.txt && pip3 cache purge && chown -R www-data:www-data /srv/webvirtcloud
---> Running in 7bb3a4f7d73c
Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (22.0.2)
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/pip/
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/pip/
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/pip/
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/pip/
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/pip/
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/wheel/
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/wheel/
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/wheel/
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/wheel/
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/wheel/
ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
ERROR: No matching distribution found for wheel
The command '/bin/sh -c python3 -m venv venv && . venv/bin/activate && pip3 install -U pip && pip3 install wheel && pip3 install -r conf/requirements.txt && pip3 cache purge && chown -R www-data:www-data /srv/webvirtcloud' returned a non-zero code: 1
------------------------------------------------------------------------------------------------------------------------------------
root@testserver:~# python3 -m venv venv
root@testserver:~# . venv/bin/activate
(venv) root@testserver:~# pip3 install -U pip
Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (22.0.2)
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/pip/
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/pip/
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/pip/
(venv) root@testserver:~# pip3 install wheel
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/wheel/
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/wheel/
^CERROR: Operation cancelled by user
(venv) root@testserver:~# pip3 list
Package Version
---------- -------
pip 22.0.2
setuptools 59.6.0
(venv) root@testserver:~# pip3 show
WARNING: ERROR: Please provide a package name or names.
(venv) root@testserver:~# pip3 show pip
Name: pip
Version: 22.0.2
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: distutils-sig@python.org
License: MIT
Location: /root/venv/lib/python3.10/site-packages
Requires:
Required-by:
This is shown when I try to build as I always do. As much as I can see Network is working. Manual testing pip3 shows errors to.
pip3 is woking localy.
Am I missing something obvious?