I have recently switched to Atom as my IDE and I have been using Anaconda for some time (apparently wrong). I had just used a short script to open atom from a shell with my anaconda env activated (like this: conda activate dev; C:\Users\User\AppData\Local\atom\atom.exe
), which did it for me.
However, this creates an unwanted shell and takes an unusual amount of time, so I want to know if there is a way to let Atom know in which env it should be.
For example, putting this
process.env.PATH = ['C:/Users/User/anaconda/bin/', process.env.PATH].join(':')
in init.coffe
. But how should Atom know which env to use? Can I replicate conda activate
in Atom?
Edit 1:
So I have Atom working with an Anaconda env right now (I had the path configured wrong), but right now it seems to be using packages from base
, while I want Atom to use packages and python from dev
. Is this possible without completely defeating the purpose of Anaconda envs by putting every environment in the PATH
?