0

I'm trying to control a stepper motor with this library:

https://pypi.org/project/RPistepper/

After success pip install RPistepper and run:

import RPistepper as stp

The IDE (Thonny) show me this error:

no module named "RPistepper"

python 2.7.16

I'm in the very beginning with python. What am I doing wrong? Thanks!

3

Thonny uses Python3.

Install RPiStepper under Python3 with:

pip3 install RPiStepper

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.