如何使用 Python 2.7 & 启动两个 Spyder 实例蟒蛇 3.4? [英] How to start two instances of Spyder with Python 2.7 & Python 3.4?
问题描述
我在 Windows Vista 上安装了带有 Python 3.4 的 spyder.
I had spyder installed with Python 3.4 on Windows Vista.
今天我想用 Python 2.7 运行 spyder.所以,经历了 这篇文章 &为 spyder 安装了 Python 2.7.现在,如何使用 Python 2.7 而不是默认的 3.4 启动 spyder?(我想在帖子中发表评论并询问@user3058525,但由于声誉限制而无法评论)
Today I wanted to run spyder with Python 2.7. So, went through this post & installed Python 2.7 for spyder. Now, how do I start spyder with Python 2.7 instead of the default 3.4? (I wanted to comment at the post & ask @user3058525 but could not due to reputation restriction)
有人可以帮忙吗?
P.S:我可以创建一个 virtualenv.但是想在spyder工作...
推荐答案
@Roberto: Gotcha!
@Roberto: Gotcha!
了解到我们可以使用 conda info -e
它显示安装的python 2环境的路径为C:\Users\ramprasad.g\AppData\Local\Continuum\Anaconda3\envs\python2\
It showed the path for installed python 2 environment as C:\Users\ramprasad.g\AppData\Local\Continuum\Anaconda3\envs\python2\
Spyder IDE for Python 2 位于 envs\python2 内的 Scripts 文件夹中(C:\Users\ramprasad.g\AppData\Local\Continuum\Anaconda3\envs\python2\Scripts
)
Spyder IDE for Python 2 was in Scripts folder inside envs\python2 (C:\Users\ramprasad.g\AppData\Local\Continuum\Anaconda3\envs\python2\Scripts
)
点击它&瞧,Spyder 从 Python 2.7 开始!
Clicked on it & voila, Spyder started with Python 2.7!
谢谢...
这篇关于如何使用 Python 2.7 & 启动两个 Spyder 实例蟒蛇 3.4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!