Python Virtual Environment Setup
Instructions
Section titled “Instructions”-
Creating a virtual environment:
python3 -m venv test
-
Activating virtual environment:
source test/bin/activate
-
Install dependencies:
(test) pip install pika
-
Might need to install json:
(test) pip install json
-
Run script:
(test) python3 test.py
Leaving the virtual environment: deactivate