问题
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?
回答1:
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.
回答2:
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.
回答3:
Execute the following command: %cd"P:\Python"
来源:https://stackoverflow.com/questions/11919615/how-to-change-the-path-of-python-in-spyder