Installation

EDSL is a Python library that can be installed through pip. It is compatible with Python 3.9 - 3.12.

Note

EDSL is in development. We recommend that you continually check for and install the latest version of EDSL to access the most recent features and bug fixes.

Prerequisites

Ensure that you have Python installed on your system. You can download Python from the official website.

Use pip to install EDSL on your system (a package installer for Python).

Quickstart Installation

Open your terminal and verify that you have not previously installed EDSL by entering the following command:

pip show edsl

If EDSL is already installed, you will see the following output, including the actual version number:

Name: edsl
Version: 0.1.###
...

If EDSL is not installed (WARNING: Package(s) not found: edsl), enter the following command to install the latest version with pip:

pip install edsl

To confirm that your version is up to date, compare your version number with the latest version on the EDSL PyPI page.

Updating your version

To update your EDSL version to the latest one:

pip install --upgrade edsl

Advanced installation

Following the steps in Quickstart Installation will install EDSL globally on your system. Sometimes, you may face problems with conflicts between EDSL and other libraries. To avoid such problems, we recommend that you use a virtual environment.

To create a virtual environment, open your terminal and run the following command:

python -m venv myenv

This will create a folder called myenv. Next, activate your virtual environment:

source myenv/bin/activate

You can now install EDSL through pip within your virtual environment:

pip install edsl

You will have access to EDSL while your virtual environment is activated.

You can deactivate the virtual environment at any time by running:

deactivate

To delete the virtual environment, simply delete the myenv folder.