When I run Python from the terminal and from Atom
, different versions of python are called. As a consequence, there are packages that I can call without problems fr
If you have multiple versions of python you should be using virtual environments. The version of python used from the terminal will depend on which virtual environment you have activated. Atom will use the same then. Activate which version of python you want and then run Atom.
If you are using Anaconda then install conda environments. Its very simple if you using Anaconda. A few additional steps are required if you are not using it.
The internet is littered with directions to create virtual environments.
I created an environment named py27 for python 2.7. When I activate this environment it shows up on the cursor line like so:
.
If you don't see this your environment has not been activated. To activate on a Mac type source activate py27
. I don't think you need the word source on a pc but I can't test that.