运行[
"test@test.gv1-0.1",
"test@test.re1-2.1",
"abcd@example.com-0.07867768153470744"
]
时,我得到:
pip uninstall requests
然后:Uninstalling requests-2.22.0:
Would remove:
/usr/lib/python3.7/site-packages/requests
/usr/lib/python3.7/site-packages/requests-2.22.0-py3.7.egg-info
Proceed (y/n)? y
该怎么办?
答案 0 :(得分:1)
确保您拥有最新版本的pip:
pip install --upgrade pip
现在pip已更新为pip3(适用于python3.x)。您现在可以使用pip或pip3。
现在使用 python3 -m
来运行所需的模块:
python3 -m pip3 uninstall requests
或者您可以使用sudo:
sudo python3 -m pip3 uninstall requests (not recommended)