B
B
BuBux2019-11-19 15:20:15
Python
BuBux, 2019-11-19 15:20:15

How to open folder under virtualenv in PowerShell?

Set up a virtual environment for a python project. After I activated the virtual environment, an additional inscription appeared in front of the prompt on the command line, coinciding with the name of the virtual environment. After the next time I open the folder on the command line, this inscription is no longer there. It turns out I work with the project globally? How to open a project under a virtual environment?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2019-11-19
@fox_12

Most of the time I run it like this:

.\venv\Scripts\pip install <чего там надо установить>
.\venv\Scripts\python <чего там надо выполнить>

and don't bother...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question