我使用以下命令安装mitmproxy而不是使用pip
brew install mitmproxy
然而,当我尝试运行mitmproxy时,我收到以下内容。可能是什么原因造成的?这是否意味着我有2个版本的6并需要卸载过时的?
$ mitmproxy
Traceback (most recent call last):
File "/usr/local/bin/mitmproxy", line 7, in <module>
from mitmproxy.main import mitmproxy
File "/Library/Python/2.7/site-packages/mitmproxy/main.py", line 7, in <module>
from six.moves import _thread # PY3: We only need _thread.error, which is an alias of RuntimeError in 3.3+
ImportError: cannot import name _thread