Skip to content

Python environment

Thanapat Pitchayarat edited this page Jul 3, 2023 · 1 revision

Windows

Create virtual environment using venv is required to make podman-compose working correctly.

  1. Using Command Prompt to create venv inside directory utils with below command is more convenience approach as there's already .gitignore inside
python -m venv utils\venv venv

Or optionally, replace <path> to directory where you store the environment

python -m venv <path> <name>
  1. Activate Python environment:
call utils/venv/Scripts/activate.bat
  1. Install Python dependencies:
pip install -r utils/requirements.txt

Validation

Make sure you're always working with environment, You should be able to use podman-compose via command line without recognition error.

Clone this wiki locally