fatal error: Python.h[RESOLVED]



  • Hi.
    I clone i2c-exp-driver from Github.
    I type:

    root@Omega-6CC9:~/i2c-exp-driver# make
    

    and I see error:

     gcc -g -fPIC  -I include -I/usr/include/python2.7 -c -o build/python/onion-i2c-module.o src/python/onion-i2c-module.c
    src/python/onion-i2c-module.c:1:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    make: *** [makefile:189: build/python/onion-i2c-module.o] Error 1
    

    What should I do?



  • I solved the problem.

    # opkg install python-dev
    

Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.