我正在努力学习如何在TOR中使用Python。但是,我在任何地方都找不到用于windows的TOR客户端(相当于linux上的“apt”,或者android上的ORbot )。
我发现的只有TOR浏览器,我已经拥有并使用了这个浏览器。我使用stem with Python连接到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?我在任何地方都找不到简单的安装。我想我错过了一些显而易见的东西。请有人纠正我的愚蠢。
发布于 2017-11-02 20:54:24
只要像往常一样下载torbrowser,它就会内置Tor网络。如果您真的想要配置选项,可以获得专家包。
然后,您需要将tor命令行可执行文件(您用来安装torbrowser的目录)添加到windows路径中,这将允许您调用tor吗?
或者,一旦你启动它,就通过tor代理?
https://stackoverflow.com/questions/47084078
复制相似问题