Module 'bluerobotics_navigator' has no attribute 'set_pwm_enable'

Hello,

I am trying to follow some examples to make my own code in python and I am getting this error when trying to use the PWM channels.

Any clue on how to solve this?

Have a nice day!

UPDATE:

I did not mention that this problem occurs when I am using the Jupyter extension. I just ran the code using the terminal and it works fine.

1 Like

Hey @Alex_UJI1,

A newer version of the Jupyter Extension is available. Could you try updating it?

Alternatively, you can quickly work around this by running the following command in Jupyter:
pip install --user bluerobotics-navigator
This will reinstall with latest version available for the library.

Thanks!,

For some reason, running the command did not worked, but updating Jupyter solved the issue.

Have a nice day