I've got code that needs python 2.7 (and other environments)
C:\Users\Me>conda info -e # conda environments: # base * C:\Program Files\Anaconda3 python2 C:\Program Files\Anaconda3\envs\python2
I would like to be able to selectively activate python2 when I start a python shell in emacs (i.e. I send a line of code to the python interpreter using elpy). being able to put this in an init file would be cool.
I have tried both the conda and pyenv packages with no luck in my current configuration. Conda can't find my environments and pyenv doesn't seem to actually activate the virtual environment.
Using Emacs 26.1 and conda 4.5.11
Any help would be appreciated.