Skip to content

Installation DriverLib

You can install the driverlib library using either pip or by pulling the repository directly from GitHub.

Option 1: Install via Pip

Open your terminal and run the following command

pip install driverlib

Option 2: Install from GitHub

You can also install driverlib directly from its GitHub repository. This option is useful if you want to work with the latest development version or if you need to customize the library. Here's how to do it:

  1. Clone the driverlib repository from GitHub using the following command:
git clone https://github.com/kyrylo-gr/driverlib.git
  1. Enter the directory and install the package.
cd driverlib
pip install -e .

-e allows you to link the library to the directory that you created, therefore allows you to change the code inside this directory. Instead pip install -e . you can run python setup.py develop if you prefer.

That's it!

You've successfully installed the driverlib library. You can now start incorporating driverlib into your Python projects.

For further insight, please refer to the First Steps guide.