4

Trying to get Tor to renew my identity for my Python code.

I'm following the STEM project guide on how to set this up. It seems that to get this properly working (for Python), I need to edit the torrc file.

However, I do not seem to have this torrc file. Its not located where it should be according to STEM, nor is it in the place according to this answer. In short, I just do not have this file.

Is this a common issue? Should I create the file myself, and if so, how? Should I download the file somewhere? Or is it something else?

  • The torrc files location depends on how it was built and installed and it can be defined when you start tor by using the -f command line option. – cacahuatl Mar 20 '17 at 16:09
  • When I run tor -f in Terminal, I get Command-line option '-f' with no value. Failing. And when I run tor --verify-config I get Configuration file "/opt/local/etc/tor/torrc" not present, using reasonable defaults. I copied the torrc.sample, uncommented the necessary according to the guide and renamed the copy torrc. That does not seem to work either. Sidenote: I placed this question and registered afterwards - I am not allowed to comment on the question. Let me know I I can appoint this question to my account – LucSpan Mar 21 '17 at 12:08
1
  1. Open Finder
  2. Press Command, Shift, G
  3. Enter this command: ~/Library/Application Support/TorBrowser-Data/Tor

You should be able to see the Torcc file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.