You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting ST4, Anaconda uses the python_interpreter defined in project_name.sublime-project before other values of python_interpreter in Anaconda user or global settings to start jsonserver.py. This is expected since certain linting features depend on more recent versions of python (e.g type hints found in python3.6+).
Actual Behaviour
Anaconda uses the value of python_interpreter found in Anaconda.sublime-settings - User and, if not defined, uses the global settings value. It never uses the value found in project_name.sublime-project at startup. This means jsonserver.py may launch with the system python (e.g. python2.7) leading to syntax errors during linting (e.g. with type hints supported in python3.6+).
Steps to Reproduce
Fresh install of ST4 and Anaconda, create a new project and add python_interpreter in project_name.sublime-project settings. Check the python interpreter used to launch jsonserver.py and verify it does not match the one in the project settings file.
ST3, Anaconda and OS versions
ST4: Build 4113
Anaconda: v2.2.1
OS: OSX Big Sur 11.6
ST3 Console Logs
No log issues recorded.
Anaconda's JsonServer Logs
Note: Anaconda's JsonServer logs can be found in:
Linux: ~/.local/share/anaconda/logs
OS X: ~/Library/Logs/anaconda
Windows: %APPDATA\Anaconda\Logs
JSON server launches without issue, it just doesn't use the one defined in project_name.sublime-project.
The text was updated successfully, but these errors were encountered:
Just to add, this behavior also means the automatic shell_cmd switching of the python interpreter for the Anaconda Python Builder will not use the one found in project_name.sublime-project which is, arguably, more of an issue.
Expected Behaviour
When starting ST4, Anaconda uses the
python_interpreter
defined inproject_name.sublime-project
before other values ofpython_interpreter
in Anaconda user or global settings to startjsonserver.py
. This is expected since certain linting features depend on more recent versions of python (e.g type hints found in python3.6+).Actual Behaviour
Anaconda uses the value of
python_interpreter
found inAnaconda.sublime-settings - User
and, if not defined, uses the global settings value. It never uses the value found inproject_name.sublime-project
at startup. This meansjsonserver.py
may launch with the system python (e.g. python2.7) leading to syntax errors during linting (e.g. with type hints supported in python3.6+).Steps to Reproduce
Fresh install of ST4 and Anaconda, create a new project and add
python_interpreter
inproject_name.sublime-project
settings. Check the python interpreter used to launchjsonserver.py
and verify it does not match the one in the project settings file.ST3, Anaconda and OS versions
ST4: Build 4113
Anaconda: v2.2.1
OS: OSX Big Sur 11.6
ST3 Console Logs
No log issues recorded.
Anaconda's JsonServer Logs
Note: Anaconda's JsonServer logs can be found in:
JSON server launches without issue, it just doesn't use the one defined in
project_name.sublime-project
.The text was updated successfully, but these errors were encountered: