-
Notifications
You must be signed in to change notification settings - Fork 0
Python environment
Thanapat Pitchayarat edited this page Jul 3, 2023
·
1 revision
Create virtual environment using venv is required to make podman-compose working correctly.
- Using Command Prompt to create venv inside directory
utilswith below command is more convenience approach as there's already.gitignoreinside
python -m venv utils\venv venv
Or optionally, replace
<path>to directory where you store the environmentpython -m venv <path> <name>
- Activate Python environment:
call utils/venv/Scripts/activate.bat
- Install Python dependencies:
pip install -r utils/requirements.txt
Make sure you're always working with environment, You should be able to use podman-compose via command line without recognition error.