问题
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