How do I run two separate instances of Spyder

六月ゝ 毕业季﹏ 提交于 2019-12-20 08:36:21

问题


I want to be able to have two instances which are completely independent in the sense that I can be working on two separate unrelated projects in different folders without any interference.


回答1:


(Spyder dev here) This is very easy. You need to go to:

Tools > Prefences > General

and click "Advanced Settings" tab, and deactivate the option called

[ ] Use a single instance

Then every time you start Spyder a new window will be opened. If you want the old behavior back, just activate that option again.




回答2:


You can use the --new-instance option as well. Just run

spyder --new-instance



回答3:


Although clicking on the Spyder icon will not allow you to open two instances, you can open a second instance by simply going to the folder where spyder.py is and running spyder.py from the command line.

Further, you could make an icon for your desktop that simply runs spyder.py from its location. However, I don't know how multiple instances will affect user preferences if Spyder has those.



来源:https://stackoverflow.com/questions/25250998/how-do-i-run-two-separate-instances-of-spyder

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