kevinmcaleer / SMARSLab

SMARS Lab - A simple web app for playing with SMARS Robots.
Apache License 2.0
17 stars 7 forks source link

no attribute 'DO_NOT_USE_PCA_DRIVER' #22

Closed Raffa2s closed 4 years ago

Raffa2s commented 4 years ago

After following those command:

cd ~ git clone https://www.github.com/kevinmcaleer/SMARSLab cd SMARSLab sudo apt-get install virtualenv -y python3 -m venv venv source venv/bin/activate pip3 install -r requirements.txt python smars_lab.py

I had this error:

Traceback (most recent call last): File "smars_lab.py", line 25, in DRIVER = sl.DO_NOT_USE_PCA_DRIVER AttributeError: module 'smars_library.smars_library' has no attribute 'DO_NOT_USE_PCA_DRIVER' How can i fix this? I had activated everything in the interface of raspi-config.

P.s.: Note that in the github page smarslab.py is named without the _ can you fix this? Thx

Raffa2s commented 4 years ago

FIXED: in the requirements.txt you need to change: smars-library==0.1.11 ----> smars-library==0.2.1 Adafruit-PureIO==0.2.3 -----> Adafruit-PureIO==1.1.6

Please fix it in the master