安装mitmproxy时候遇到错误Building|安装mitmproxy时候遇到错误Building wheel for urwid (setup.py) ... error
安装mitmproxy,pip install mitmproxy
【安装mitmproxy时候遇到错误Building|安装mitmproxy时候遇到错误Building wheel for urwid (setup.py) ... error】遇到一个这样的错误
Building wheels for collected packages: urwid
Building wheel for urwid (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'd:\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'C:\\Users\\lzc\\AppData\\Local\\Temp\\pip-install-n_qbun6y\\urwid\\setup.py'"'"';
__file__='"'"'C:\\Users\\lzc\\AppData\\Local\\Temp\\pip-install-n_qbun6y\\urwid\\setup.py'"'"';
f=getattr(tokenize, '"'"'open'"'"', open)(__file__);
code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');
f.close();
exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\lzc\AppData\Local\Temp\pip-wheel-mpzxt06o'
cwd: C:\Users\lzc\AppData\Local\Temp\pip-install-n_qbun6y\urwid\
Complete output (101 lines):
running bdist_wheel
running build
running build_py
creating build
======================
解决办法:
C:\Users\lzc>pip install -U pip setuptools wheel
Requirement already up-to-date: pip in d:\anaconda3\lib\site-packages (20.0.2)
Collecting setuptools
Using cached setuptools-46.1.3-py3-none-any.whl (582 kB)
Collecting wheel
Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB)
ERROR: tensorboard 2.0.2 has requirement requests<3,>=2.21.0, but you'll have requests 2.20.0 which is incompatible.
Installing collected packages: setuptools, wheel
Attempting uninstall: setuptools
Found existing installation: setuptools 42.0.1
Uninstalling setuptools-42.0.1:
Successfully uninstalled setuptools-42.0.1
Attempting uninstall: wheel
Found existing installation: wheel 0.31.1
Uninstalling wheel-0.31.1:
Successfully uninstalled wheel-0.31.1
Successfully installed setuptools-46.1.3 wheel-0.34.2
推荐阅读
- 一个人的碎碎念
- 昨夜小楼听风
- Mac安装Chromedriver
- 眉头开了
- MongoDB,Wondows下免安装版|MongoDB,Wondows下免安装版 (简化版操作)
- MAC安装Mongo
- 你累吗
- 【Hadoop踩雷】Mac下安装Hadoop3以及Java版本问题
- 疲困,却仍得继续
- 姑爷