python 3.4 - tor name not recognized in stem -


i trying follow "to russia love" tutorial (https://stem.torproject.org/tutorials/to_russia_with_love.html) getting error:

[1mstarting tor: [0m traceback (most recent call last):   file "c:\users\gatsu\my documents\liclipse workspace\torcommunicator\tutorialstart.py", line 52, in <module>     init_msg_handler = print_bootstrap_lines,   file "c:\python34\lib\site-packages\stem\process.py", line 244, in launch_tor_with_config     return launch_tor(tor_cmd, args, torrc_path, completion_percent, init_msg_handler, timeout, take_ownership)   file "c:\python34\lib\site-packages\stem\process.py", line 83, in launch_tor     raise oserror("'%s' isn't available on system. maybe it's not in path?" % tor_cmd) oserror: 'tor' isn't available on system. maybe it's not in path? 

what missing? need import project or add tor path? using windows 8.1.

that means stem doesn't know tor executable located. path tells applications stem executables , tor isn't located in of locations.

you have couple options...

a. tell stem explicitly tor located...

stem.process.launch_tor_with_config(tor_cmd='c:\path\to\tor', ...) 

b. change path include tor.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -