On 02/03/17 22:20, Quang nguyen wrote:

Right now, I need to use pi_switch in order to send data through RF system by Pi2. Until now, I installed everything it need from an article on the internet. Those things are python-dev, libboost-python-dev, python-pip, and
I used pip to install pi_switch.

I think it just compatible with python2, and I cannot import it to python3.

Are there any ways I can import it to python3 or execute python2 script
which has pi_switch by python3 script?.

Sorry, Quang, I got your problem backwards- Raspbian comes with python2.7. Are you sure you are using Python 3? You would have had to take special measures to do so.

check here: https://github.com/lexruee/pi-switch-python
and note that rpi-rf is recommended instead.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to