如何在 Spyder 中更改 Python 的路径? [英] How to change the path of Python in Spyder?

查看:32
本文介绍了如何在 Spyder 中更改 Python 的路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Debian.我安装了 Python 3.2.3.Python 3 的路径是/usr/bin/python3.如何在 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?

推荐答案

CTRL+SHIFT+ALT+P 打开首选项窗口.在此窗口中,选择左侧的 Console 项,然后选择 Advanced Settings 选项卡.Python 可执行文件的路径就在那里.

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.

这篇关于如何在 Spyder 中更改 Python 的路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆