st19297
st19297

Reputation: 629

What is the easiest way to run Spyder in virtual environments?

Currently, I need to open windows cmd, navigate to the environment folders directory, activate the environment of choice, and type Spyder to run Spyder in that environment. Is there any easier way to do so?

Upvotes: 1

Views: 2059

Answers (1)

dahrens
dahrens

Reputation: 3959

Although you are on windows - in bash you might do something like that

source /path/to/venv/bin/python && /path/to/venv/bin/spyder

For windows it looks like that:

call path\to\venv\Scripts\activate & call path\to\venv\Scripts\spyder

Upvotes: 2

Related Questions