Importing a module - Raspberry Pi Forums
i needed install minimalmodbus use sensors, followed vendors instruction, works fine, minimalmodbus seems available in python2. if try script in python3 "importerror: no module named 'minimalmodbus'.
why module available python2, how make available python3.
thought minimalmodbus ok both versions.
thanks
code: select all
sudo pip install minimalmodbus
why module available python2, how make available python3.
thought minimalmodbus ok both versions.
thanks
use pip3 instead of pip install it.
set python 3
set python 3
raspberrypi
Comments
Post a Comment