Pip only works using -i http://pypi.douban.com/simple --trusted-host pypi.douban.com #10677
Closed
1 task done
Labels
resolution: no action
When the resolution is to not do anything
resolution: wrong project
Should be reported elsewhere
type: bug
A confirmed bug or unintended behavior
Description
I have no clue where, to begin with, this error.
Pip does not want to install from pypi.org
Attempting to install using curl and get pip to test package installation
Using pip install --upgrade flask -i http://pypi.douban.com/simple --trusted-host pypi.douban.com Works normally however and I am unsure why.
Expected behavior
Using pip install --upgrade flask -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple
Collecting flask
Downloading http://pypi.doubanio.com/packages/8f/b6/b4fdcb6d01ee20f9cfe81dcf9d3cd6c2f874b996f186f1c0b898c4a59c04/Flask-2.0.2-py3-none-any.whl (95 kB)
|████████████████████████████████| 95 kB 321 kB/s
Collecting click>=7.1.2
Downloading http://pypi.doubanio.com/packages/48/58/c8aa6a8e62cc75f39fee1092c45d6b6ba684122697d7ce7d53f64f98a129/click-8.0.3-py3-none-any.whl (97 kB)
|████████████████████████████████| 97 kB 211 kB/s
Collecting Jinja2>=3.0
Downloading http://pypi.doubanio.com/packages/20/9a/e5d9ec41927401e41aea8af6d16e78b5e612bca4699d417f646a9610a076/Jinja2-3.0.3-py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 364 kB/s
Collecting itsdangerous>=2.0
Downloading http://pypi.doubanio.com/packages/9c/96/26f935afba9cd6140216da5add223a0c465b99d0f112b68a4ca426441019/itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting Werkzeug>=2.0
Downloading http://pypi.doubanio.com/packages/1e/73/51137805d1b8d97367a8a77cae4a792af14bb7ce58fbd071af294c740cf0/Werkzeug-2.0.2-py3-none-any.whl (288 kB)
|████████████████████████████████| 288 kB 345 kB/s
Collecting colorama
Downloading http://pypi.doubanio.com/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting MarkupSafe>=2.0
Downloading http://pypi.doubanio.com/packages/93/28/d42b954fb9189cf4b78b0b0a025cff9b2583f93b37d1a345768ade29e5dd/MarkupSafe-2.0.1-cp310-cp310-win_amd64.whl (15 kB)
Installing collected packages: MarkupSafe, colorama, Werkzeug, Jinja2, itsdangerous, click, flask
Successfully installed Jinja2-3.0.3 MarkupSafe-2.0.1 Werkzeug-2.0.2 click-8.0.3 colorama-0.4.4 flask-2.0.2 itsdangerous-2.0.1
pip version
21.3.1
Python version
3.10
OS
Windows 10 Pro 20H2
How to Reproduce
This issue happened after installing Tor and Kaspersky and having Kaspersky break a bunch of stuff .
I may have Deleted Tor possibly while in an venv and after this point in time was unable to use pip normally
I have tried reinstalling python multiple times for different versions and have tried disabling ipV6 yet am still encountering the issue.
Below is the output of
pip install flask
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: