Installation#
Requires Python 3.10.x
Via venv/pip (recommended)#
Create Python virtual environment#
Linux/MacOS#
$ python3.10 -m venv </path/to/env_name>
Specify desired path and name env_name
Windows (CMD)#
Install Python. 3.10.x
Navigate to directory <your_path> where the virtual environment is to be installed.
Run:
> python3.10 -m venv <env_name>
Activate environment and install dependencies#
Linux / MacOS:#
$ source </path/to/env_name>/bin/activate
$ python -m pip install git+https://github.com/areElkin/netflow.git
Windows#
Via conda (Liinux/MacOS/Windows)#
Requirements: Miniconda.
Create Conda environment#
$ conda create -n <env_name> python=3.10
Specify desired environment name <env>.
Activate Conda environment#
After creating the environment, it can be activated by:
$ conda activate <env_name>
Install Netflow via PIP#
$ python -m pip install git+https://github.com/areElkin/netflow.git
Adding Python virtual environment to Jupyter notebook#
After activating the environment, type the following:
$ python -m ipykernel install --user --name=<env_name>
After using the above command, the venv/Conda environment <env_name> should appear in Jupyter notebooks.
Contents: