Closed D37R4C7 closed 5 years ago
Are you running version 3 for both pip and python? Can you post the complete text of the error message.
@D37R4C7 Hello! Are you still having the issue above? Please let us know so we can help you out or close the issue. Thanks!
@kattni I've got the same problem.
On raspberry pi (as root): apt-get -y install git python3 python3-requests python3-pip python3-dev python3-spidev python3-rpi.gpio pip3 install --upgrade setuptools pip3 freeze - local | grep -v ‘^-e’ | cut -d = -f 1 | xargs -n1 pip3 install -U pip3 install adafruit-circuitpython-pn532
afterwards I've tried to run "python3 pn532_simpletest.py" and it gives me:
Traceback (most recent call last):
File "pn532_simpletest.py", line 15, in
Is this package complete?
pip3 show -f adafruit-circuitpython-pn532 Name: adafruit-circuitpython-pn532 Version: 2.0.0 Summary: CircuitPython library for controlling PN532 RFID/NFC reader-writer. Home-page: https://github.com/adafruit/Adafruit_CircuitPython_PN532 Author: Adafruit Industries Author-email: circuitpython@adafruit.com License: MIT Location: /usr/local/lib/python3.5/dist-packages Requires: adafruit-circuitpython-busdevice, Adafruit-Blinka, pyserial Files: adafruit_circuitpython_pn532-2.0.0.dist-info/INSTALLER adafruit_circuitpython_pn532-2.0.0.dist-info/METADATA adafruit_circuitpython_pn532-2.0.0.dist-info/RECORD adafruit_circuitpython_pn532-2.0.0.dist-info/WHEEL adafruit_circuitpython_pn532-2.0.0.dist-info/top_level.txt
We found a small bug in one of the config files. Try upgrading to the 2.0.1 version and let us know if it works.
Version 2.0.1 works. Thank you!
Cool. Glad that worked.
Closing. Fixed by #9
After
pip install adafruit-circuitpython-pn532
installing version 2 I get a Module not found error with the example file.