torctl错误与;TorCtl.connect连接()AttributeError:“module”对象没有属性“connect”

2024-10-01 02:21:12 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经下载了最新的tor-nodes.py和最新的pytorctl。在

我已经用Python的setup.py build安装了pytorctl,然后是{}; 那里没有错误。在

但是现在当我运行./tor-nodes.py时,我得到一个错误:

# ./tor-nodes.py
Traceback (most recent call last):
  File "./tor-nodes.py", line 11, in <module>
    conn = TorCtl.connect()
AttributeError: 'module' object has no attribute 'connect'

任何帮助都将不胜感激


Tags: pybuildmostconnect错误setupcalltor