Power & Source of Big Ideas

I have found, that "sudo apt-get install python-dev" helps with #include "Python.h" problem Than i runned "python setup.py install" but still getting error in python: import RPi.GPIO as GPIO Traceback (most recent call last): File "<stdin>", line 1, in <module...
hi, I have tried new install, but after running "python setup.py install" getting error: source/py_gpio.c:23:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated. any idea what to do? thank you
I am attaching install log, maybe it will helps: udo python setup.py install running install running build running build_py running build_ext building 'RPi._GPIO' extension arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_...
I have pulled new changes and run setup again. But with no success: command import RPi.GPIO cause: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "RPi/GPIO/__init__.py", line 23, in <module> from RPi._GPIO import * ImportError: No module named _GPIO a...
I have found, that package is successfully installed, but there is no code. When I try import RPi.GPIO_NP there is no directory GPIO_NP in RPi folder: https://github.com/auto3000/RPi.GPIO_NP/tree/master/RPi When I try import RPi.GPIO, there is GPIO directory but is empty, except __init__ where is &q...
hi, I have tried described but with no success. What I did: - sudo apt-get install python-dev python3-dev - git clone https://github.com/auto3000/RPi.GPIO_NP.git - cd cd RPi.GPIO_NP - sudo python setup.py install I get few warnings but finally it was done successful. But when I run python with "...
hello, I have NanoPi M1 and I want to program GPIO pins with python. When I try to import module with "import RPi.GPIO" I get message "ImportError: No module named 'RPi'". I have found, that RPi.GPIO should be installed by default on NanoPi NEO/NEO2/Air, but I can not find any ar...