How to change the path of Python in Spyder?

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?

4 Answers

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.

1

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

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"

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like