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

查看:637
本文介绍了如何在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.

有人可以告诉我该怎么做吗?

Can any one tell me how to do that?

推荐答案

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

You can open the preferences (multiple options):

  • 键盘快捷键 Ctrl + Alt + Shift + P
  • Tools-> Preferences
  • keyboard shortcut Ctrl + Alt + Shift + P
  • Tools -> Preferences

根据Spyder版本,您可以在Python interpreter部分(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天全站免登陆