Installation#

Requirement for RAD-tools installation are:

Most likely you already have Python installed on your machine (if not check these links: Python installation).

RAD-tools can be installed with pip or from source.

Check Python#

The easiest way to check if you have python installed is to run the following command in your terminal:

python

If you see something like that, then you have python installed:

Python 3.10.9 (main, Dec 15 2022, 18:25:35) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

In most cases python command launches python3, however if it launches python2, then you may need to use python3 instead (and pip3 instead of pip in the following).

Hint

Use exit() to close python console.

The packages (NumPy, SciPy, matplotlib, tqdm, termcolor) are installed automatically during the installation of RAD-tools, so you do not have to worry about them.

pip#

To install RAD-tools, run (you may need to use pip3):

pip install rad-tools

Installing from source#

  • Clone the project to your local computer:

git clone git@github.com:adrybakov/rad-tools.git
  • Change the directory:

cd rad-tools
  • To install RAD-tools, run (you may need to use pip3):

pip install rad-tools

Additionally you may run the unit tests, which requires pytest to be installed:

make test

Note

pytest requires Python 3.7+

Hint

To install pytest, run (you may need to use pip3):

pip install pytest

Update#

If you want to update the package to the latest available version (0.9.1) type the following in your terminal (you may need to use pip3):

pip install rad-tools --upgrade