Skip to content

Enviroment Usage

Create Virtual Environment¶

With pip vertial environment: python request: 3.10.1

For Linux/MacOS

1
2
3
4
5
6
$ pip3 install virtualenv
$ virtualenv venv --python=python3.10.1
$ source venv/bin/activate
$ pip install -r requirements.txt
$ deactivate
$ rm -rf venv     # remove the venv

For Windows

1
2
3
4
5
6
$ pip install virtualenv
$ virtualenv venv
$ venv\Scripts\activate
$ pip install -r requirements.txt
$ deactivate
$ rmdir /s venv     # remove the venv

Last update: 2024-04-27