如何在 anaconda spyder 中更改 python 版本 [英] How to change python version in anaconda spyder

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

问题描述

我在 Mac 上的 anaconda spyder 中使用 3.6 Python 版本.但我想将其更改为 Python 2.7.

I am using 3.6 Python version in anaconda spyder on my mac. But I want to change it to Python 2.7.

谁能告诉我怎么做?

推荐答案

可以打开首选项(多选):

You can open the preferences (multiple options):

  • 键盘快捷键 Ctrl + Alt + Shift + P
  • 工具 -> 首选项
  • keyboard shortcut Ctrl + Alt + Shift + P
  • Tools -> Preferences

并且根据 Spyder 版本,您可以在 Python 解释器 部分 (Spyder 3.x) 中更改解释器:

And depending on the Spyder version you can change the interpreter in the Python interpreter section (Spyder 3.x):

或在高级 Console 部分 (Spyder 2.x):

or in the advanced Console section (Spyder 2.x):

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

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