4

I'm using the plugin for Python development in Sublime Text 3 Anaconda.

Everything works fine, but now that I have a django project, I want to also take advantage of Anaconda's features like goto definition.

Sadly, I can't get it to work. I tried adding paths to my project settings with no luck:

"settings": {
"python_interpreter": "C:/Users/user/virtualenvs/example/Scripts/python",
"extra_paths":
[
    "C:/Users/user/virtualenvs/example/Lib",
    "C:/Users/user/virtualenvs/example/Lib/site-packages/django"
]
}

Do you know how to overcome this problem?

MattDMo
  • 100,794
  • 21
  • 241
  • 231
Santi Agüero
  • 3,143
  • 8
  • 27
  • 39

1 Answers1

0

I had an issue with this on MacOSX.

I had set the interpreter to be the one in the virtualenv for my Django project. I was thinking that is what they needed. Instead set it to the python interpreter that Sublime text is using. (In my case it was the system python)

Daniel Rucci
  • 2,822
  • 2
  • 32
  • 42