Rampy Rampy - 1 year ago 147
Python Question

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

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...

Answer Source

@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...

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download