Closed TMRh20 closed 2 years ago
When you ran the simple test, did you use python3
or python
? I know this seems like a basic question, but there is a difference - python
is py2.7, python3
is py3.x.
You can see what libs are installed by using pip list
(for python 2.7) or pip3 list
(for python 3.x)
If you're running the examples from the repo's master branch, then it would probably be best to install the lib from the repo's root. I haven't published a release yet (as of this writing) to pypi since merging #33 to master.
cd CircuitPython_nRF24l01
git checkout master
python3 -m pip install .
cd examples
python3 nrf24l01_simple_test.py
I was using python3 to run the simple_test but your instructions above worked. Now I'm happily running the examples!
I'm running on a RPI4 with RPI OS/Buster and having troubles installing the circuitpython driver. ( I was bored so thought I would try it out)
I initially got an error:
But that was resolved by running
sudo python3 -m pip install --force-reinstall adafruit-blinka
Now I'm getting:
When I try to run any of the examples.
So it seems that the module isn't installing correctly or something. I ran
pip3 install circuitpython-nrf24l01
per your docs at https://circuitpython-nrf24l01.readthedocs.io/en/latest/#installing-from-pypi with no errors, so am wondering wtf? It maybe just my newbness with python related anything...