Importing a module - Raspberry Pi Forums


i needed install minimalmodbus use sensors, followed vendors instruction,

code: select all

sudo pip install minimalmodbus
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

use pip3 instead of pip install it.
set python 3


raspberrypi



Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading