Answer the question
In order to leave comments, you need to log in
How to run python script using virtual environment?
I want to make a simple portable program.
Created a virtual environment in the project directory using python3 -m venv /var/www/html/venv
.
When running the script with start.sh specified main.py. But it runs in a linux environment. How to tell the script to use files from the project environment?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question