PWM Expansion Tutorials "ImportError: No module named motors"



  • I've been working through the Omega2 tutorials and just got to the PWM ones. When trying to compile the code for the Dimming LEDs I get the following error: ImportError: No module named motors

    It's the line: from motors import OmegaPwm

    Is there another package I need to install?

    The closest thing I found was the python module "motor" which I installed with pip, but that doesn't seem to help even if I change it to "from motor import OmegaPwm"



  • figured it out, the file omegaPwm.py mentioned in that tutorial should've been called motors.py, everything works now!


  • administrators

    @Ryan-Closs good find! we'll make sure to fix it asap!


Log in to reply