In your terminal just type:
pip install optimuspyspark
Apache Spark >= 2.3.1 (installed with the package)
Python >= 3.6