A very basic setting issue about spyder and anaconda for python

A very basic setting issue about spyder and anaconda for python

You can specify the Spyders Run Settings in Run -> Configure (F6). By default Execute in current Python or IPython console is selected and you probably do not have any open console in Spyder.

You can select Execute in a new dedicated Python console option and Spyder will automatically open a new console for you. Or you can leave the dafault option and create a new console yourself in the Consoles menu.

I have had the same problem. I am not able to fix it but I am able to successfully run the program the following two ways and I dont find any problems till now:

  1. By selecting IPython console (not the one with the Kernel id as its tab) then running your program.
  2. By selecting Execute in new dedicated Python console from Tools –> Preferences –> Run.

A very basic setting issue about spyder and anaconda for python

I was getting the same error message, but then realized I was not directing the PATH to my Python interpreter file at all. How I solved the problem:

Go to Tools > PYTHONPATH manager
Select Add path
Find and select your Python interpreter folder (for me this was C:Python27)

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *