how to link new libraries

stuartgunn

Estimable
Jan 5, 2015
1
0
4,510
Mostly I have installed modules by downloading them from git or unzipping tar files. Now I have some modules which are separate from any package and I want to import them in a program which reads data from a i2c compass (HMC5883l). My program returns "cannot import i2c_hmc5883l". No doubt I need to set the path but I don't know how to.
Stuart