I installed Spyder IDE before I have installed the Anaconda (on Ubuntu 14.04), on the terminal when I type python
I have the anaconda python and I can import all of its packages. But on Spyder I still have the original python and I cannot import the Anaconda packages, how can I setup Spyder to use the Anaconda python?
At the Anaconda Prompt (terminal on Linux or macOS), type spyder and press Enter. Spyder should start up just like it did when you launched it from Anaconda Navigator.
You can launch it in any of the following ways: From the command line: Type spyder in your terminal (or Anaconda prompt on Windows). From Anaconda Navigator: Scroll to Spyder under Home, and click Launch.
The easiest solution here is to use the Spyder that comes with Anaconda.
If you want to keep your older version as well as the anaconda version python too. Install Anaconda python as root user. Then install spyder as root too. Then Running spyder as root will allow you to use Anaconda version Python and running spyder in home user will let you use older version of python. You can refer my blog for the same Blog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With