Search code examples
python-3.xatom-editorjuno-ide

Juno/Atom Python version different from terminal and REPL Python version


I am running Ubuntu 16.04 and my version of Python points to version 3.5, however the one in Atom points to 2.7. Does anybody know how I can change that?

So the python --version in terminal gives me:

Python 3.5.2 :: Anaconda 4.2.0 (64-bit)

and ;python --version in Atom's console gives me:

Python 2.7.12

I use Atom for Julia. I am using Juno and PyCall.


Solution

  • If you want to specify the version of Python used by PyCall, you can find help in the documentation here.

    I am not certain if that is your actual problem, though, since I think that ;cmd should be shelling out to the terminal. I would have thought it would be the same as running cmd in the terminal, and be unrelated to PyCall. I might be wrong, though.