Skip to content

Python Virtual Environment Setup

jhhocs edited this page Apr 13, 2024 · 5 revisions

Python Virtual Environment Setup

Instructions

  1. Creating a virtual environment: python3 -m venv test

  2. Activating virtual environment: source test/bin/activate

  3. Install dependencies: (test) pip install pika

  4. Might need to install json: (test) pip install json

  5. Run script: (test) python3 test.py

Leaving the virtual environment: deactivate

Clone this wiki locally