How can I execute pacon anaconda with atom 1.0

I installed atom 1.0 and I want to run my python 3.4 from Anaconda 3. All errors are related to the fact that the atom does not detect my anaconda packages. I can not find the file to change the settings for python on anaconda python.

+8
atom editor
source share
2 answers

You can add the Anaconda python path to the beginning of your path in the init.coffee file. From the Atom menu, select Open Your Init Script. Or use Command-shift-P to open the fuzzy crawler and type something in the "Open Your Init Script" line:

enter image description here then add something like:

process.env.PATH = ['/Users/dan/anaconda/bin/', process.env.PATH].join(':') 

to the end of init.coffee. Of course, you need to replace /Users/dan/anaconda/bin with the path to your anaconda/bin . If you don't already know this, try entering which python at the command line.

After adding the line, save init.coffee and restart Atom.

+6
source share

Try to start the atom from the terminal. Otherwise, it does not load the $ PATH variable defined by anaconda in the ~ / .bash_profile file

+5
source share

All Articles