Open wie-niet opened 6 years ago
install fails on BeagleBone black.
setup will install the libs needed for Raspberry Pi ( spidev and RPi.GPIO ) not the one needed for BeagleBone Black ( Adafruit_BBIO ).
Work around is to remove the RPi libraries after pip install and install the lib needed for BBB.
git clone https://github.com/ondryaso/pi-rc522.git cd pi-rc522 python setup.py install pip uninstall spidev pip uninstall rpi.gpio pip install Adafruit_BBIO
Best would be to automate this in setup.py, or perhaps even easier - if possible - to switch to use Adafruit_GPIO.SPI ?
install fails on BeagleBone black.
setup will install the libs needed for Raspberry Pi ( spidev and RPi.GPIO ) not the one needed for BeagleBone Black ( Adafruit_BBIO ).
Work around is to remove the RPi libraries after pip install and install the lib needed for BBB.
Best would be to automate this in setup.py, or perhaps even easier - if possible - to switch to use Adafruit_GPIO.SPI ?