Install the Arduino IDE on your computer: https://www.arduino.cc/en/Main/Software
Start the IDE and upload the standard firmata sketch into your Arduino with:
File -> Examples -> Firmata -> Standard Firmata
pip3 install pyfirmata2
https://github.com/berndporr/pyFirmata2/tree/master/examples