Вопрос

I'm using Debian. I installed Python 3.2.3. The path of Python 3 is /usr/bin/python3. How do I change it in Spyder?

Это было полезно?

Решение

Press CTRL+SHIFT+ALT+P to open the Preferences window. Within this window, select the Console item on the left, then the Advanced Settings tab. The path to the Python executable will be right there.

Другие советы

simple if your not able to change the working directory .Press CTRL+SHIFT+ALT+P to open the Preferences window then go to RUN then see the working directory options and finally press the option THE CURRENT WORKING DIRECTORY.

Execute the following command: %cd"P:\Python"

With Spyder v. 4.2.5 that comes with Anaconda3 v. 4.10.1, I do not see 'Console' on the left in the Preferences menu (i.e. Tools>Preferences). In this version you can change the path to the python.exe file under Python interpreter on the left.

enter image description here

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top