user3711518
user3711518

Reputation: 253

Open spyder in ubuntu

I want to open spyder(Python IDE) in ubuntu.

Normally I would write "spyder" in the shell, and it would open the spyder IDE.

Now when I write spyder in the shell, it just new lines, and nothing happens(similar to pressing 'enter').

--- How do I get my spyder back?

EDIT - I get no errors, it just skips to the next line.

Upvotes: 11

Views: 67917

Answers (7)

Mingming
Mingming

Reputation: 382

To launch spyder in bash console, just enter:

spyder .

in the bash console.

Upvotes: 0

Ilya
Ilya

Reputation: 486

now uninstall spyder and do this :

#first install spyder
sudo apt install spyder

#updata your conda
conda update anaconda

#updata spyder
conda update spyder

#then write this and wait
spyder

use this link or if you do not have conda use thislinl=k

Upvotes: 0

Codingkido
Codingkido

Reputation: 73

A simple way to install spyder is:

sudo apt install spyder

Upvotes: 0

avadaKedavera
avadaKedavera

Reputation: 21

in Ubuntu, just go to your,

 cd home/<your account> 

then go to .spyder2 folder

cd spyder2 

should get you there

in terminal, type la in terminal(ls doesn't show the hidden files ) and use,

rm -f spyder.lock

to delete

Upvotes: 1

aysljc
aysljc

Reputation: 1008

If typing "spyder" doesn't work, you might want to try typing "spyder3" in case you installed the spyder3 version. Below is what worked for me in my Ubuntu system.

To install spyder via pip (my python version is 3.6.2), I used:

 pip install spyder

Then, I had to install another package:

 pip install PyQtWebEngine

Finally, to open the Spyder window, I typed into my terminal:

 spyder3

Upvotes: 8

calocedrus
calocedrus

Reputation: 2576

You may simply have to update spyder.

If you are NOT using anaconda:

pip install --update spyder

Or, if you are in anaconda:

conda update spyder

I had the same issue as yours, with also a message in the command line saying:

Spyder is already running. If you want to open a new 
instance, please pass to it the --new-instance option

The above update allowed me to open spyder from the command line.

Upvotes: 2

user2620765
user2620765

Reputation: 11

I had this problem as well, and found this post on it in an askubuntu forum. It suggested using sudo apt-get purge spyder to delete any faulty configuration files and then reinstall with sudo apt-get install spyder. I found it worked, and spyder reopened with my previous files on the text editor.

Upvotes: 1

Related Questions