我尝试在centos 6.8上运行mitmproxy。所以我编译了python 3.5.1并安装了ist。当我跑步" mitmproxy"我总是得到导入错误。 我找到了一个解决方案:线程,cookie,cookielib ......
但是如何解决这个问题:
Traceback (most recent call last):
File "/usr/local/bin/mitmproxy", line 9, in <module>
load_entry_point('mitmproxy==0.15', 'console_scripts', 'mitmproxy')()
File "/usr/local/lib/python3.5/site-packages/libmproxy/main.py", line 41, in mitmproxy
from . import console
File "/usr/local/lib/python3.5/site-packages/libmproxy/console/__init__.py", line 17, in <module>
from .. import controller, flow, script, contentviews
File "/usr/local/lib/python3.5/site-packages/libmproxy/flow.py", line 16, in <module>
from . import controller, tnetstring, filt, script, version, flow_format_compat
File "/usr/local/lib/python3.5/site-packages/libmproxy/script/__init__.py", line 2, in <module>
from .script_context import ScriptContext
File "/usr/local/lib/python3.5/site-packages/libmproxy/script/script_context.py", line 5, in <module>
from .. import contentviews
File "/usr/local/lib/python3.5/site-packages/libmproxy/contentviews.py", line 32, in <module>
from .contrib.wbxml.ASCommandResponse import ASCommandResponse
File "/usr/local/lib/python3.5/site-packages/libmproxy/contrib/wbxml/ASCommandResponse.py", line 30, in <module>
from ASWBXML import ASWBXML
ImportError: No module named 'ASWBXML'