我尝试在我的 linux RHEL 7 中使用 Libmproxy,但出现以下异常:
from libmproxy import controller, proxy
File "/usr/lib/python2.7/site-packages/libmproxy/proxy/__init__.py", line 1, in <module>
from .primitives import *
File "/usr/lib/python2.7/site-packages/libmproxy/proxy/primitives.py", line 2, in <module>
from netlib import socks, tcp
File "/usr/lib/python2.7/site-packages/netlib/socks.py", line 5, in <module>
from . import tcp, utils
File "/usr/lib/python2.7/site-packages/netlib/tcp.py", line 62, in <module>
"TLSv1_1": (SSL.TLSv1_1_METHOD, SSL_BASIC_OPTIONS),
AttributeError: 'module' object has no attribute 'TLSv1_1_METHOD'
已经尝试重新安装 mitmproxy、netlib、PyOpenSSL 和 Cryptography。还有其他想法吗?