Spyder is an IDE for Python development. In this post, we will look different ways of installing Spyder on Ubuntu.
Python3+ installed - How to update Python to Python3+
Anaconda installed - How to install Anaconda
Conda Install Spyder
One of the easiest and recommended way of installing Spyder is through Anaconda.
Assuming you are in your Anaconda python 3+ environment. Run following command.
sudo conda install spyder
Check Spyder installation...
conda list spyder # packages in environment at /home/anaconda3: # # Name Version Build Channel spyder 4.1.4 py38_0 spyder-kernels 1.9.2 py38_0
Start Spyder On Ubuntu
Run following command...
The above command will bring up the Spyder GUI. It might ask you to install Kite. I would recommend to enable Kite since it is a great Autocomplete plugin. Checkout more about Kite here...https://www.kite.com/
After installing, you will have to restart Spyder.
sudo conda update spyder
Remove Spyder On Ubuntu
conda remove spyder
Apt-get Install Spyder
Another (not recommended) way of installing Spyder is just use apt-get command.
sudo apt-get update -y sudo apt-get install -y spyder3
However you might not get latest version using apt method.