The packages can be installed with given requirements.sh or manual with below steps:
cd
# Debian based
sudo apt-get install libusb-1.0-0-dev
# Rpm based
sudo yum install libusb1-devel
wget https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22.tar.gz
tar -xzvf ~/libphidget22.tar.gz
cd ~/libphidget22-1.1.20190417
./configure --prefix=/ && make && sudo make install
fn=`find -name *libphidget22.rule*`
sudo mv ${fn} /etc/udev/rules.d.
pip3 install Phidget22