Relative Content

Tag Archive for pythonpython-3.xpip

I broke pip by uninstalling all packages

For a very stupid reason I decided to uninstall all packages from pip freeze, including those installed in the OS.
When I tried to reinstall the wanted packages, I get a wall of text error ending with
ModuleNotFoundError: No module named ‘certifi’

pip erroring out while trying to install mcpi_e module

I tried to install the mcpi_e module which the command i used(pip install mcpi_e)to install it worked fine before but now it just does this:
Collecting mcpi_e
Obtaining dependency information for mcpi_e from https://files.pythonhosted.org/packages/46/2d/1e834ee62af0d62f51860bdb2fe81bb9b47938ef113ffac873f412deec80/mcpi_e-0.3.2006.2-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out. (read timeout=15)”)’: /packages/46/2d/1e834ee62af0d62f51860bdb2fe81bb9b47938ef113ffac873f412deec80/mcpi_e-0.3.2006.2-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out. (read timeout=15)”)’: /packages/46/2d/1e834ee62af0d62f51860bdb2fe81bb9b47938ef113ffac873f412deec80/mcpi_e-0.3.2006.2-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out. (read timeout=15)”)’: /packages/46/2d/1e834ee62af0d62f51860bdb2fe81bb9b47938ef113ffac873f412deec80/mcpi_e-0.3.2006.2-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out. (read timeout=15)”)’: /packages/46/2d/1e834ee62af0d62f51860bdb2fe81bb9b47938ef113ffac873f412deec80/mcpi_e-0.3.2006.2-py3-none-any.whl.metadata
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ReadTimeoutError(“HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out. (read timeout=15)”)’: /packages/46/2d/1e834ee62af0d62f51860bdb2fe81bb9b47938ef113ffac873f412deec80/mcpi_e-0.3.2006.2-py3-none-any.whl.metadata
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/46/2d/1e834ee62af0d62f51860bdb2fe81bb9b47938ef113ffac873f412deec80/mcpi_e-0.3.2006.2-py3-none-any.whl.metadata (Caused by ReadTimeoutError(“HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out. (read timeout=15)”))