pyyaml - 错误:无法卸载“PyYAML”解析方法
问题描述
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
我通过以下命令解决:
$ 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:
解决方案
推荐阅读
- javascript - 使用地图功能检查多个项目
- shell - 如何使用 shell 脚本等到 Kubernetes 的 Pod 列表成功
- python - 如何处理 CSV 文件中 DECIMAL 列的缺失值
- javascript - javascript/jquery 增量检查
- validation - Joi 模式中的替代键组
- javascript - 使用 Jquery 删除许多 DIV 元素时如何重置计数和修改类名
- python - 我需要使用嵌套循环从低到高对 3 个数字的列表进行排序。Python
- python - PyQt5 中的焦点原因?
- python - 从 SQLAlchemy 上下文管理器返回一个值
- elasticsearch - 滚动重启时集群会拒绝查询吗?