How to start two instances of Spyder with Python 2.7 & Python 3.4?

人走茶凉 提交于 2019-12-06 21:57:55

问题


I had spyder installed with Python 3.4 on Windows Vista.

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)

Could anyone help out?

P.S: I could create a virtualenv. But want to work in spyder...


回答1:


@Roberto: Gotcha!

Learnt that we can check for environments installed in conda using conda info -e

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 was in Scripts folder inside envs\python2 (C:\Users\ramprasad.g\AppData\Local\Continuum\Anaconda3\envs\python2\Scripts)

Clicked on it & voila, Spyder started with Python 2.7!

Thank you...



来源:https://stackoverflow.com/questions/28318322/how-to-start-two-instances-of-spyder-with-python-2-7-python-3-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!