Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the path of Python in Spyder?

Tags:

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?

like image 670
Joyfulgrind Avatar asked Aug 12 '12 03:08

Joyfulgrind


People also ask

How do I set an environment variable in Spyder?

There's an option in the Tools menu that let's you check/insert/update/remove the currently active environment variables in Spyder (pic for reference). Therefore, if you intend to install a package in multiple installations, you need to use the corresponding package manager executable.

How do I find my Python path?

Manually Locate Where Python is InstalledType 'Python' in the Windows Search Bar. Right-click on the Python App, and then select “Open file location“ Right-click on the Python shortcut, and then select Properties. Click on “Open File Location“

How do I fix my Python Spyder?

Restart your machine, in case the problem lies with a lingering process or another such issue. From the Anaconda Prompt/Terminal/command line (on Windows/Mac/Linux), run the command spyder --reset , which will restore Spyder's config files to their defaults, which solves a huge variety of Spyder issues.


1 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.

like image 187
HerrKaputt Avatar answered Nov 11 '22 15:11

HerrKaputt