'making virtual environment with venv in python
I am building a data analysis pipeline in which I need to create a virtual environment using this command:
python3 -m venv venv
And then I will activate it using:
source venv/bin/activate
I have 2 questions:
1- would it be fine to call the venv also venv? In fact would it make problem if I have 2 venv in the same command?
2- in the manual page it is mentioned that after the activation of virtual environment, “you can confirm you’re in the virtual environment by checking the location of your Python interpreter” using this command: “which python “. Does it have any advantage to add it to my pipeline?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
