-
Notifications
You must be signed in to change notification settings - Fork 0
Python Virtual Environment Setup
jhhocs edited this page Mar 22, 2024
·
5 revisions
- Install Python
-
Creating a virtual environment:
python3 -m venv test
-
Activating virtual environment:
(env) source test/bin/activate
Install the dependencies: (test) python3 -m pip install -r requirements.txt
-
Start server (test):
python app.py
-
Install dependencies:
(test) pip install pika
-
Might need to install json:
(test) pip install json
-
run script:
(test) pyrhon3 test.py
Leaving the virtual environment: deactivate