安装 twine 失败,因为无法卸载 'pkginfo'
Installing twine fails because cannot uninstall 'pkginfo'
我需要关于在这种情况下我应该做什么的指导:
C:\Users\Dave\Desktop16Coding\testdist>pip install twine
Collecting twine
Using cached https://files.pythonhosted.org/packages/65/ae/9cfdff186dd4812c59bad890435538858f13fe43dbe6923e0fb20f0adfc8/twine-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: requests!=2.15,!=2.16,>=2.5.0 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (2.18.4)
Requirement already satisfied: requests-toolbelt>=0.8.0 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (0.8.0)
Collecting pkginfo>=1.4.2 (from twine)
Using cached https://files.pythonhosted.org/packages/a3/fe/f32a48d48f40a7209be9825fba2566cab92364787cf37de2e08300dd6ce7/pkginfo-1.4.2-py2.py3-none-any.whl
Requirement already satisfied: tqdm>=4.14 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (4.23.1)
Requirement already satisfied: setuptools>=0.7.0 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (38.5.1)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (1.22)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (2018.1.18)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (2.6)
Installing collected packages: pkginfo, twine
Found existing installation: pkginfo 1.3.2
Cannot uninstall 'pkginfo'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
我在网络上的任何地方都找不到关于此问题的其他参考。
pip install twine --ignore-installed
我需要关于在这种情况下我应该做什么的指导:
C:\Users\Dave\Desktop16Coding\testdist>pip install twine
Collecting twine
Using cached https://files.pythonhosted.org/packages/65/ae/9cfdff186dd4812c59bad890435538858f13fe43dbe6923e0fb20f0adfc8/twine-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: requests!=2.15,!=2.16,>=2.5.0 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (2.18.4)
Requirement already satisfied: requests-toolbelt>=0.8.0 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (0.8.0)
Collecting pkginfo>=1.4.2 (from twine)
Using cached https://files.pythonhosted.org/packages/a3/fe/f32a48d48f40a7209be9825fba2566cab92364787cf37de2e08300dd6ce7/pkginfo-1.4.2-py2.py3-none-any.whl
Requirement already satisfied: tqdm>=4.14 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (4.23.1)
Requirement already satisfied: setuptools>=0.7.0 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from twine) (38.5.1)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (1.22)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (2018.1.18)
Requirement already satisfied: idna<2.7,>=2.5 in c:\users\dave\desktop16coding\environments\ipython_env\anaconda3\lib\site-packages (from requests!=2.15,!=2.16,>=2.5.0->twine) (2.6)
Installing collected packages: pkginfo, twine
Found existing installation: pkginfo 1.3.2
Cannot uninstall 'pkginfo'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
我在网络上的任何地方都找不到关于此问题的其他参考。
pip install twine --ignore-installed