首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:无法卸载“PyYAML”解析方法

错误:无法卸载“PyYAML”解析方法
EN

Stack Overflow用户
提问于 2020-06-16 07:02:40
回答 1查看 5.6K关注 0票数 2
代码语言:javascript
复制
ERROR: Cannot uninstall 'PyYAML'. 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

我通过以下命令解决了问题:

代码语言:javascript
复制
$ pip install -U PyYAML               
Defaulting to user installation because normal site-packages is not writeable
Processing ./.cache/pip/wheels/e5/9d/ad/2ee53cf262cba1ffd8afe1487eef788ea3f260b7e6232a80fc/PyYAML-5.3.1-cp36-cp36m-linux_x86_64.whl
Installing collected packages: PyYAML
Successfully installed PyYAML-5.3.1


$ pip show PyYaml

Name: PyYAML
Version: 5.3.1
Summary: YAML parser and emitter for Python
Home-page: https://github.com/yaml/pyyaml
Author: Kirill Simonov
Author-email: xi@resolvent.net
License: MIT
Location: /home/ranger/.local/lib/python3.6/site-packages
Requires: 
Required-by:
EN

回答 1

Stack Overflow用户

发布于 2022-04-21 05:13:05

代码语言:javascript
复制
sudo -H pip3 install --ignore-installed PyYAML
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62402718

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档