sublime-text-conda icon indicating copy to clipboard operation
sublime-text-conda copied to clipboard

Conda configuration

Open ndharper opened this issue 3 years ago • 1 comments

I can't seem to configure conda so that it finds the right python interpreter. It uses the default 2.7 whereas I want to use the 3.9 in the anaconda distribution. When I run spyder from Anaconda navigator, print(sys.executable) gives a path /Users/nickharper/opt/anaconda3/bin/python. When I try to run from within sublimetext, it tries to run some version of python 2.

I have edited the Conda (OSX).sublime-settings in uswrs/nick/harper/library/application support/Sublime Text/Packages/User but it doesn't help. Here's the contents of that file.

{ // executable is the path to anaconda's python // this python executable is used in order to find conda "executable": "~/opt/anaconda3/bin/python",

// Directory in which the conda envs are stored
// Default location is the user's home directory
"environment_directory": "~/opt/anaconda3/envs/",

// System architecture for Python installation
// options: 32 or 64 bit
"architecture": "64",

// configuration is the path to conda's configuration file
"configuration": "~/.condarc"	

}

BW Nick Harper [email protected]

ndharper avatar Jan 25 '22 13:01 ndharper

Could you let me know which version of Sublime Text you're using?

mandeep avatar Oct 18 '22 19:10 mandeep