You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the instructions (several times, same result), I keep getting the "ImportError" that states:
Quote: File "/home/Pi/Documents/LED_test.py", line 1, in
from pfirmata import Arduino, util
ImportError: cannot import name 'Arduino' from 'pyfirmata' (/home/Pi/Documents/pyfirmata.py) :End Quote
What can I do to resolve this?
Thank you,
Ron.
The text was updated successfully, but these errors were encountered:
I'm really new to Pi and Python programming, but I figured out that I had to find and copy the pyfirmata folder into the same folder as my sketch. It's working now. I have to assume this is like the Libraries in Arduino where all of the Libraries being used have to be in a pre-defined folder within the program. Is this correct? Are the Libraries for Python supposed to reside in "/pythonX.X/dist-packages"? Should I then keep all of my sketches in the same folder?
Hello.
After following the instructions (several times, same result), I keep getting the "ImportError" that states:
Quote: File "/home/Pi/Documents/LED_test.py", line 1, in
from pfirmata import Arduino, util
ImportError: cannot import name 'Arduino' from 'pyfirmata' (/home/Pi/Documents/pyfirmata.py) :End Quote
What can I do to resolve this?
Thank you,
Ron.
The text was updated successfully, but these errors were encountered: