python - How to make the anaconda plugin use a custom interpreter (virtualenv)? -


I want to set the Python interpreter for the project base. Says:

You can definitely configure Python interpreter to use in a per-project basis. To do this, you will need to edit your .sublime-project file and override the Python_specified user setting in it:

  {// ... "settings": {"Python_interpreter": "/home/damnwidget/.virtualenvs/mamba-pypy/bin/python"}}   

This is for me. Successful file:

 <">" folders ": [{" follow_symlinks ": true," path ":" c: \\ user \\ maids \ "gooprojects"}, {"follow_symlinks" : True, "Path": "C: \\ User \\ Mads \ PythonProjects"}}   

I have tried many different combinations and I'm out of docs Can not go where exactly that setting should go. / P>

A sample .sublime-project can be found in the full layout of the file : ["Backup"], "follow-simlinks": {"folders": [{"" path: "src", "folder_exclude_patterns" "" "{{" Path ":" document "," name ":" documentation "," file_unitated_pattern ": [" * .css "]}]," setting ": {" ta b_size ": 8}," build_systems ": [{" Name ":" list "," shell_cmd ":" ls -l "}]

Therefore, " settings " array is the same level Should be on as "folders" In the field, your file should look like this:

  {"folders": [{"follow_symlinks": true, "path": "C : \\ user \\ Mads \ "GoProjects \", {"follow_symlinks": true, "path": "c: \\ user \\ madness \" pythonproject "}", "settings": {"python_interpreter" "C: \\ User \\ Mads \\. Virtualenv \\ MyProject \\ usr \\ bin \\ python.exe "}}   

Obviously, you will need to set path to python.exe at the actual location of the file.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -