Skip to content

Installation

Installing with pip

To install the latest stable release from PyPI:

pip install lfsir

This will install LFSIR and all dependencies.

Installing from GitHub

To install the development version from GitHub:

pip install git+https://github.com/Iran-Open-Data/LFSIR.git

Using a Virtual Environment

We highly recommend installing LFSIR within a virtual environment to avoid conflicts with system packages.

To create a virtual environment:

python -m venv c:\path\to\virtual\environment
python -m venv /path/to/virtual/environment

To activate the virtual environment:

C:\> <venv>\Scripts\activate.bat
$ source <venv>/bin/activate

For more information go to the venv documentation or the Real Python tutorial on virtual environments.