Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup Spyder to work with Anaconda python on Ubuntu 14.04

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?

like image 482
Ohm Avatar asked Jan 26 '15 08:01

Ohm


People also ask

How do I run an Anaconda Spyder in Ubuntu?

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.

How do I activate Spyder in Anaconda?

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.


2 Answers

The easiest solution here is to use the Spyder that comes with Anaconda.

like image 178
asmeurer Avatar answered Oct 01 '22 16:10

asmeurer


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

like image 45
Shubham Pachori Avatar answered Oct 01 '22 16:10

Shubham Pachori