Traceback (most recent call last):


 "/home/quh/.conda/envs/pytorch/lib/python3.7/site-packages/sqlalchemy/engine/result.py", line 1268, in fetchone

row = self._fetchone_impl()


 "/home/quh/.conda/envs/pytorch/lib/python3.7/site-packages/sqlalchemy/engine/result.py", line 1148, in _fetchone_impl

return self.cursor.fetchone()
sqlite3.ProgrammingError: Cannot operate on a closed database.

Traceback (most recent call last):

 "/usr/local/bin/mitmproxy", line 9, in <module>
load_entry_point('mitmproxy==0.17', 'console_scripts', 'mitmproxy')()

 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 521, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)

 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2632, in load_entry_point
return ep.load()

 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2312, in load
return self.resolve()

 "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2318, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)

 "/usr/local/lib/python2.7/dist-packages/mitmproxy/main.py", line 6, in <module>
from netlib.version_check import check_pyopenssl_version, check_mitmproxy_versionImportError: No module named netlib.version_check