ModuleNotFoundError: No module named 'onionGpio' Python3



  • Hello. I installed module onion Gpio for Python 3 in Omega-2.

    root@Omega-D90D:~# opkg install python3 pyOnionGpio
    Package python3 (3.6.0-2) installed in root is up to date.
    Installing pyOnionGpio (0.2-1) to root...
    Downloading http://repo.onion.io/omega2/packages/onion/pyOnionGpio_0.2-1_mipsel_24kc.ipk
    Installing python-base (2.7.14-5) to root...
    Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/packages/python-base_2.7.14-5_mipsel_24kc.ipk
    Configuring python-base.
    Configuring pyOnionGpio.
    

    I Imported the module 'onionGpio'

    import onionGpio
    

    But when you run the program, an error occurs.

    ModuleNotFoundError: No module named 'onionGpio'
    

Log in to reply
 

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