jpbarraca / pynrf24

Python port of the RF24 library for NRF24L01+ radios.
GNU General Public License v2.0
152 stars 84 forks source link

python2 or python3 #29

Closed pietrondo closed 3 years ago

pietrondo commented 7 years ago

Hi. I have a beaglebone... could I use python3 or only python2? thx

diodelass commented 7 years ago

I am not a developer of this project, but I just started working with it and I can confirm that the code works in both Python 2.7 and Python 3.4. If you want to install it for Python 3 on a system whose default Python interpreter is 2.7, the easiest way is to edit the shebang line of setup.py and change /usr/bin/env python to /usr/bin/env python3, then run it (build and install) again.