Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spyder cannot launch: spyder: command not found

Tags:

I have installed spyder by pip3 install spyder on mac. However, when I cannot launch it from bash and it would show spyder: command not found.

I have follow the instructions on its Github page, and I have also have its dependencies like PyQt5 installed.

Is there a way to install spyder without installing the Anaconda distribution? Thank you.

like image 482
Chauncey Avatar asked Oct 22 '17 15:10

Chauncey


1 Answers

(Spyder developer here)

The command to run Spyder when it's installed in Python 3 is spyder3, not spyder, but only when Spyder is installed with pip.


Now, about this:

Is there a way to install spyder without installing the Anaconda distribution?

Our official answer is:

  1. If you are new to Python or the Scientific Python ecosystem, we strongly recommend you to install and use Anaconda. It comes with Spyder and all its dependencies, along with the most important Python scientific libraries (i.e. Numpy, Pandas, Matplotlib, IPython, etc) in a single, easy to use environment.
  2. We also support pip, but please be aware that pip installations are for advanced users with good knowledge of all Spyder dependencies.

Given that a simple Tab in a terminal after spyder would have given you spyder3, I'd say you're not very experienced. So my suggestion is: please consider using Anaconda.

like image 128
Carlos Cordoba Avatar answered Sep 25 '22 11:09

Carlos Cordoba