python 3.7.4 垃圾,一整天安装那个mitmproxy ,不行,卡在一个破库叫urwid ,说是os.path()为空,换3.8.2安装成功,垃圾3.7.4迟早要完

C:UsersAdministrator>pip

Usage:
  pip <command> [options]

Commands:
  install                     Install packages.
  download                    Download packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  check                       Verify installed packages have compatible dependencies.
  config                      Manage local and global configuration.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  hash                        Compute hashes of package archives.
  completion                  A helper command used for command completion.
  debug                       Show information useful for debugging.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output. Option is additive, and can be used up to 3 times (corresponding to
                              WARNING, ERROR, and CRITICAL logging levels).
  --log <path>                Path to a verbose appending log.
  --proxy <proxy>             Specify a proxy in the form [user:passwd@]proxy.server:port.
  --retries <retries>         Maximum number of retries each connection should attempt (default 5 times).
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup,
                              (a)bort.
  --trusted-host <hostname>   Mark this host as trusted, even though it does not have valid or any HTTPS.
  --cert <path>               Path to alternate CA bundle.
  --client-cert <path>        Path to SSL client certificate, a single file containing the private key and the
                              certificate in PEM format.
  --cache-dir <dir>           Store the cache data in <dir>.
  --no-cache-dir              Disable the cache.
  --disable-pip-version-check
                              Don't periodically check PyPI to determine whether a new version of pip is available for
                              download. Implied with --no-index.
  --no-color                  Suppress colored output

C:UsersAdministrator>pip install mitmproxy
Collecting mitmproxy
  Using cached https://files.pythonhosted.org/packages/d3/b9/fdfa51a2ae6ab968068a1b682e0c9efb76cc2f0493cf3e4fab33166d8345/mitmproxy-5.1.1-py3-none-any.whl
Collecting pydivert<2.2,>=2.0.3; sys_platform == "win32" (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/ca/8f/86d7931c62013a5a7ebf4e1642a87d4a6050c0f570e714f61b0df1984c62/pydivert-2.1.0-py2.py3-none-any.whl
Collecting protobuf<3.12,>=3.6.0 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/27/9c/ef816295b4b40298fd0a17bf8f0ba6cf3e0c44cb2ce72257168e09996b8b/protobuf-3.11.3-py2.py3-none-any.whl (434kB)
     |████████████████████████████████| 440kB 469kB/s
Collecting ruamel.yaml<0.17,>=0.16 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/a6/92/59af3e38227b9cc14520bf1e59516d99ceca53e3b8448094248171e9432b/ruamel.yaml-0.16.10-py2.py3-none-any.whl
Collecting Brotli<1.1,>=1.0 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/49/d7/9915ff9bbd0fa467decf5139e08997e1ea2e10f270fb9aa9ef5a592b4735/Brotli-1.0.7-cp38-cp38-win_amd64.whl (358kB)
     |████████████████████████████████| 358kB 467kB/s
Collecting click<8,>=7.0 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB)
     |████████████████████████████████| 92kB 535kB/s
Collecting tornado<7,>=4.3 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/0c/04/48f7aca638106a57a94f9f3921fae27a9010076bccc9d31eef99c62ffaf5/tornado-6.0.4-cp38-cp38-win_amd64.whl (417kB)
     |████████████████████████████████| 419kB 364kB/s
Collecting pyperclip<1.9,>=1.6.0 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/f6/5b/55866e1cde0f86f5eec59dab5de8a66628cb0d53da74b8dbc15ad8dabda3/pyperclip-1.8.0.tar.gz
Collecting wsproto<0.16,>=0.14 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/d5/8b/96575a9a73591ce8e5e519375e30565bf9d299d0ced98a2970c225abedf4/wsproto-0.15.0-py2.py3-none-any.whl
Collecting passlib<1.8,>=1.6.5 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/11/b8/e9a78f3033228013ba8564adad8d0031bf9d39ea3acc3cdb9d55fabeb4ba/passlib-1.7.2-py2.py3-none-any.whl
Collecting sortedcontainers<2.2,>=2.1.0 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/13/f3/cf85f7c3a2dbd1a515d51e1f1676d971abe41bba6f4ab5443240d9a78e5b/sortedcontainers-2.1.0-py2.py3-none-any.whl
Collecting pyasn1<0.5,>=0.3.1 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB)
     |████████████████████████████████| 81kB 327kB/s
Collecting publicsuffix2<3,>=2.20190812 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/9d/16/053c2945c5e3aebeefb4ccd5c5e7639e38bc30ad1bdc7ce86c6d01707726/publicsuffix2-2.20191221-py2.py3-none-any.whl
Collecting kaitaistruct<0.9,>=0.7 (from mitmproxy)
Collecting pyparsing<2.5,>=2.4.2 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67kB)
     |████████████████████████████████| 71kB 381kB/s
Collecting flask<1.2,>=1.1.1 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
Collecting cryptography<3.0,>=2.9 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/f7/00/33abf1278178dd4314fd943a8b25a39d370acb151e72b0299975af478d1c/cryptography-2.9.2-cp38-cp38-win_amd64.whl (1.5MB)
     |████████████████████████████████| 1.5MB 177kB/s
Collecting ldap3<2.8,>=2.6.1 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/7e/22/c942210f4ad383ccf9e4b0980a2922f0af7452be811c56d585748b9a5a01/ldap3-2.7-py2.py3-none-any.whl
Collecting hyperframe<6,>=5.1.0 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/19/0c/bf88182bcb5dce3094e2f3e4fe20db28a9928cb7bd5b08024030e4b140db/hyperframe-5.2.0-py2.py3-none-any.whl
Collecting certifi>=2019.9.11 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/57/2b/26e37a4b034800c960a00c4e1b3d9ca5d7014e983e6e729e33ea2f36426c/certifi-2020.4.5.1-py2.py3-none-any.whl (157kB)
     |████████████████████████████████| 163kB 251kB/s
Collecting blinker<1.5,>=1.4 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/1b/51/e2a9f3b757eb802f61dc1f2b09c8c99f6eb01cf06416c0671253536517b6/blinker-1.4.tar.gz
Collecting pyOpenSSL<19.2,>=19.1.0 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/9e/de/f8342b68fa9e981d348039954657bdf681b2ab93de27443be51865ffa310/pyOpenSSL-19.1.0-py2.py3-none-any.whl
Collecting h2<4,>=3.2.0 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/25/de/da019bcc539eeab02f6d45836f23858ac467f584bfec7a526ef200242afe/h2-3.2.0-py2.py3-none-any.whl
Collecting zstandard<0.14,>=0.11 (from mitmproxy)
  Downloading https://files.pythonhosted.org/packages/d0/5e/493e6bf3512f8dfbccf06ce6f61cc90daf3d9160a84fd16861f36ac89035/zstandard-0.13.0-cp38-cp38-win_amd64.whl (533kB)
     |████████████████████████████████| 542kB 364kB/s
Collecting urwid<2.2,>=2.1.0 (from mitmproxy)
  Using cached https://files.pythonhosted.org/packages/45/dd/d57924f77b0914f8a61c81222647888fbb583f89168a376ffeb5613b02a6/urwid-2.1.0.tar.gz
Requirement already satisfied: setuptools in c:usersadministratorappdatalocalprogramspythonpython38libsite-packages (from protobuf<3.12,>=3.6.0->mitmproxy) (41.2.0)
Collecting six>=1.9 (from protobuf<3.12,>=3.6.0->mitmproxy)
  Downloading https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9" (from ruamel.yaml<0.17,>=0.16->mitmproxy)
  Downloading https://files.pythonhosted.org/packages/92/28/612085de3fae9f82d62d80255d9f4cf05b1b341db1e180adcf28c1bf748d/ruamel.yaml.clib-0.2.0.tar.gz (178kB)
     |████████████████████████████████| 184kB 218kB/s
Collecting h11>=0.8.1 (from wsproto<0.16,>=0.14->mitmproxy)
  Using cached https://files.pythonhosted.org/packages/5a/fd/3dad730b0f95e78aeeb742f96fa7bbecbdd56a58e405d3da440d5bfb90c6/h11-0.9.0-py2.py3-none-any.whl
Collecting Jinja2>=2.10.1 (from flask<1.2,>=1.1.1->mitmproxy)
  Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
Collecting itsdangerous>=0.24 (from flask<1.2,>=1.1.1->mitmproxy)
  Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Werkzeug>=0.15 (from flask<1.2,>=1.1.1->mitmproxy)
  Downloading https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298kB)
     |████████████████████████████████| 307kB 181kB/s
Collecting cffi!=1.11.3,>=1.8 (from cryptography<3.0,>=2.9->mitmproxy)
  Downloading https://files.pythonhosted.org/packages/b4/78/eefed9f51baa2b2c891915b4590a237ed6bc6d02beec177fc503bae8eb53/cffi-1.14.0-cp38-cp38-win_amd64.whl (177kB)
     |████████████████████████████████| 184kB 312kB/s
Collecting hpack<4,>=3.0 (from h2<4,>=3.2.0->mitmproxy)
  Using cached https://files.pythonhosted.org/packages/8a/cc/e53517f4a1e13f74776ca93271caef378dadec14d71c61c949d759d3db69/hpack-3.0.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2>=2.10.1->flask<1.2,>=1.1.1->mitmproxy)
  Downloading https://files.pythonhosted.org/packages/4f/8b/da8a2ae5780d38271ac6e691756fc938cf4df8f225eb8aaced0204304932/MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography<3.0,>=2.9->mitmproxy)
  Downloading https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl (112kB)
     |████████████████████████████████| 112kB 384kB/s
Installing collected packages: pydivert, six, protobuf, ruamel.yaml.clib, ruamel.yaml, Brotli, click, tornado, pyperclip, h11, wsproto, passlib, sortedcontainers, pyasn1, publicsuffix2, kaitaistruct, pyparsing, MarkupSafe, Jinja2, itsdangerous, Werkzeug, flask, pycparser, cffi, cryptography, ldap3, hyperframe, certifi, blinker, pyOpenSSL, hpack, h2, zstandard, urwid, mitmproxy
  Running setup.py install for ruamel.yaml.clib ... done
  Running setup.py install for pyperclip ... done
  Running setup.py install for blinker ... done
  Running setup.py install for urwid ... done
Successfully installed Brotli-1.0.7 Jinja2-2.11.2 MarkupSafe-1.1.1 Werkzeug-1.0.1 blinker-1.4 certifi-2020.4.5.1 cffi-1.14.0 click-7.1.2 cryptography-2.9.2 flask-1.1.2 h11-0.9.0 h2-3.2.0 hpack-3.0.0 hyperframe-5.2.0 itsdangerous-1.1.0 kaitaistruct-0.8 ldap3-2.7 mitmproxy-5.1.1 passlib-1.7.2 protobuf-3.11.3 publicsuffix2-2.20191221 pyOpenSSL-19.1.0 pyasn1-0.4.8 pycparser-2.20 pydivert-2.1.0 pyparsing-2.4.7 pyperclip-1.8.0 ruamel.yaml-0.16.10 ruamel.yaml.clib-0.2.0 six-1.14.0 sortedcontainers-2.1.0 tornado-6.0.4 urwid-2.1.0 wsproto-0.15.0 zstandard-0.13.0

原文地址:https://www.cnblogs.com/DDBD/p/12850305.html