In a Python program, import qwiic while in pipenv shell results in ModuleNotFoundError: No module named ‘qwiic’. Using import qwiic while not in the shell works Ok.
I’m trying to use VL53L1X (Qwiic) with Qwiic Mux Breakout to measure distance while accessing Sphero SDK for other functions (like drive).
Update: Used pip3 install sparkfun-qwiic. Now ‘import qwiic’ doesn’t cause an error after using pipenv shell. However the example python to change i2c address throws an error ( ‘QwiicVL53L1X’ object has no attribute ‘SensorInit’) while pipenv shell is active. Example code for address change works Ok when not in pipenv shell.