SecretIndividual
SecretIndividual

Reputation: 2519

Launching Spyder from Anaconda prompt

I just installed a fresh version of Anaconda (never installed before). I created a project called snowflakes and activated it from the command line.

Following along with the tutorial "Getting started with Anaconda", it say's that when in a environment you can launch the Spyder IDE (came with Anaconda) by typins spyder. However when I try to do this I get:

enter image description here

Did I miss anything during setup? If so how would I fix this? I have no idea where spyder is installed in case I need to add it to my path variables in Windows.

Upvotes: 7

Views: 41913

Answers (2)

Satyaki KC
Satyaki KC

Reputation: 61

Spyder is not installed in snowflakes environment yet.

First do 'pip install spyder'.

After that type in spyder.

You will be good to go...

Upvotes: 6

Gonçalo Peres
Gonçalo Peres

Reputation: 13582

Anaconda will help you see the different environments you have configured, their applications and their packages.

Take the following example:

Anaconda Environment with applications

In this case, the working environment is kdb and it has the following applications installed: CMD.exe Prompt, Jupyter Notebook and VS Code.

If you have a variety of environments and you want to launch the Spyder for a specific one, from Anaconda's Prompt, then, assuming that you are using Windows, do a search in the Start Menu for Anaconda Prompt and select the prompt for your specific environment that should have Spyder installed.

In the example above, as Spyder was not installed, I had to install it.

Then, once installed, let's open Anaconda's Prompt for that specific environment:

Open Anaconda Prompt for a specific environment

Once there, you can open Spyder by simply running

spyder

Note that if Spyder is already running, and if you want to open a new instance, please pass to it the --new-instance option.

Upvotes: 4

Related Questions