美文网首页
安装mitmproxy时候遇到错误Building wheel

安装mitmproxy时候遇到错误Building wheel

作者: 济南凡事 | 来源:发表于2020-04-19 11:12 被阅读0次

    安装mitmproxy,pip install mitmproxy

    遇到一个这样的错误

    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

    相关文章

      网友评论

          本文标题:安装mitmproxy时候遇到错误Building wheel

          本文链接:https://www.haomeiwen.com/subject/ltaybhtx.html