我尝试从PyCharm卸载PyXB,也使用pip命令行。
我尝试过: pip卸载PyXB 我得到错误味精。列出如下:
C:\Users\NTier> pip list
Package Version
--------------- ---------
certifi 2018.4.16
chardet 3.0.4
click 6.7
entrypoints 0.2.3
idna 2.7
jsonconfig-tool 1.5
keyring 13.2.1
messages 0.4.3
pip 18.1
python-box 3.2.0
pywin32-ctypes 0.1.2
PyXB 1.2.6
recordclass 0.5
requests 2.19.1
setuptools 39.0.1
urllib3 1.23
validus 0.3.0
C:\Users\NTier>pip uninstall PyXB
Cannot uninstall 'PyXB'. 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.
“我手动删除了”。如何做到这一点并不明显。
答案 0 :(得分:0)
只需删除
文件夹C:\ Python37 \ Lib \ site-packages \ pyxb 和 文件C:\ Python37 \ Lib \ site-packages \ PyXB-1.2.6-py3.7.egg-info
然后运行 点列表 确认。