PHP笔记网

革命尚未成功,同志仍须努力下载JDK17

作者:Albert.Wen  添加时间:2021-08-14 23:11:50  修改时间:2024-11-29 00:34:06  分类:10.Python基础  编辑

Anaconda3 安装 mitmproxy 时报错:

pip install mitmproxy -i https://pypi.tuna.tsinghua.edu.cn/simple

ERROR: Cannot uninstall 'ruamel-yaml'. 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.

 当前Python环境:Anaconda3-2020.11-Windows-x86_64.exe (Python 3.7)

有网友也遇到类似问题:conda环境安装datapane报错ERROR: Cannot uninstall ‘ruamel-yaml’

本来打算按照他文章去修复问题,,后来想到先升级一下 Anaconda 到最新的版本(Anaconda3-2021.05-Windows-x86_64.exe)试试。

卸载旧版本,重新安装 Anaconda3 的最新版本,再执行上述的 安装 mitmproxy 命令,安装成功

$ mitmdump --version
Mitmproxy: 7.0.2
Python:    3.8.8
OpenSSL:   OpenSSL 1.1.1k  25 Mar 2021
Platform:  Windows-10-10.0.18362-SP0

 

 

相关文章:

conda环境下安装mitmproxy遇到的坑