Answer the question
In order to leave comments, you need to log in
How to set up a virtual environment in GitBash?
Hello!
Please do not judge strictly, I am a beginner, I encountered some misunderstanding, perhaps a very simple problem.
Maybe someone has come across something like this. I'm working
on this book "Test-Driven Development with Python" https://www.ozon.ru/context/detail/id/145743532/
I use pycharm, a virtual environment is installed, everything is OK, everything works.
But on page 159, you need to run the command in Git-Bash using a virtual environment. And I don't understand how to set up a virtual environment in Git-Bash. An error is thrown, it does not find the django module:
Can someone tell me or throw off a link how to activate the virtual environment?
Thank you for your attention
Answer the question
In order to leave comments, you need to log in
If you are running in the same directory as PyCharm, then it will be enough to run the command to enter the virtual environment:source venv/bin/activate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question