I am trying to use a module I have downloaded in Python 3, but when I call
from i2clibraries import i2c_hmc5883l the error
ImportError: No module named "i2clibraries" occurs.
i2clibraries is housed in a file called
q2wthat itself is housed in a directory called
I added the lines
export QUICK2WIRE_API_HOME=~/salt/q2w export PYTHONPATH=$PYTHONPATH:$QUICK2WIRE_API_HOME
.bashrcso that I didn't have to type
. ./setup.envevery time the Pi is rebooted to run the same lines that are in the
I'm new to both Raspian and Python 3, does anyone see a major error in the way I'm attempting to link these libraries? Is there a better way to add modules to Python 3? Is what I'm doing even linking?