我正在尝试学习如何将 Python 与 TOR 一起使用。但是,我找不到任何适用于 Windows 的 TOR 客户端(相当于 linux 上的“apt-get install tor”,或 android 上的 ORbot)。
我找到的只是我已经拥有并使用的 TOR 浏览器。我正在使用带有 Python 的 stem 来连接到 TOR,但是由于我没有安装任何东西,它失败了:
Traceback (most recent call last):
File "C:/Users/8bitb/Desktop/Python Stuff/tor.py", line 19, in <module>
init_msg_handler=print_bootstrap_lines,
File "C:\Python36\lib\site-packages\stem\process.py", line 273, in launch_tor_with_config
return launch_tor(tor_cmd, args, torrc_path, completion_percent, init_msg_handler, timeout, take_ownership)
File "C:\Python36\lib\site-packages\stem\process.py", line 86, in launch_tor
raise OSError("'%s' isn't available on your system. Maybe it's not in your PATH?" % tor_cmd)
OSError: 'tor' isn't available on your system. Maybe it's not in your PATH?
我在任何地方都找不到简单的安装。我希望我遗漏了一些明显的东西。请有人纠正我的愚蠢。