方式1:pipx install mitmproxy -i Simple Index
方式2:pipx install mitmproxy
报错信息:
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff1b1fb8df0>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff1b1fe0040>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff1b1fe0160>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff1b1fe0280>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff1b1fe0370>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
ERROR: Could not find a version that satisfies the requirement mitmproxy
ERROR: No matching distribution found for mitmproxy
Error installing mitmproxy.
caohedeMBP:mitm caohe$ pipx install mitmproxy
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd8918f8d90>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd891927040>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd891927130>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd891927250>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fd891927340>: Failed to establish a new connection: [Errno 61] Connection refused’))': /simple/mitmproxy/
ERROR: Could not find a version that satisfies the requirement mitmproxy
ERROR: No matching distribution found for mitmproxy
影响:python里边没办法使用mitmproxy的包,麻烦老师看看