Very simple question about configuring spyder and anaconda for python

I am starting an IDE spyder for Python.

To use the spyder IDE, I command "spyder" on the anaconda console using python 2.7

After that I try to type "hello"

But I meet an error message

"There is currently no python shell selected to run hu.py. Select or open a new Python interpreter and try again"

How can I solve this problem?

I saved the file to C: \ Anaconda \ practice_jhk

from __future__ import print_function
print ("hi")
+6
source share
5 answers

Spyder Run → Configure (F6). " Python IPython", , , Spyder.

" Python", Spyder . dafault .

+6

. , , :

  • IPython ( , ), .
  • " Python" "" - "" → "".
+1

, , PATH Python. :

> PYTHONPATH
" "
Python ( C:\Python27)

+1

, → Sypder . .

0
turtle.done()
try:
    turtle.bye()   
except turtle.Terminator:
    pass

Spyder

0

Source: https://habr.com/ru/post/1545927/


All Articles