How do I run two separate instances of Spyder

2020-05-14 04:51发布

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.

3条回答
爷的心禁止访问
2楼-- · 2020-05-14 05:27

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

查看更多
姐就是有狂的资本
3楼-- · 2020-05-14 05:27

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

spyder --new-instance
查看更多
一夜七次
4楼-- · 2020-05-14 05:33

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.

查看更多
登录 后发表回答