The procedure to setup venv is
python -m venv myenv
source myenv/bin/activate
pip install .
deactivate
Is is possible to run this procedure from python ? The problem with os.system
is that the source myenv/bin/activate
command returns not found, while it works when called from bash.