added debug for import

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-11 00:32:06 +02:00
parent 313a7bb081
commit 9caee0864b
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ try:
import RPi.GPIO as GPIO import RPi.GPIO as GPIO
except ImportError: except ImportError:
print('Some modules are missing. Try to install them with "pip3 install -r requirements.txt"') print('Some modules are missing. Try to install them with "pip3 install -r requirements.txt"')
print(ImportError)
exit() exit()
sys.path.append('./SDL_Adafruit_ADS1x15') sys.path.append('./SDL_Adafruit_ADS1x15')