Problems running modules on a Grove Raspberry Pi Hat

Some progress made with the use of python virtual environments:

pi@iotpi:~/venvs/test $ grove_led 5
Check whether I2C enabled and   Grove Base Hat RPi  or  Grove Base Hat RPi Zero  inserted
pi@iotpi:~/venvs/test $ source venv/bin/activate
(venv) pi@iotpi:~/venvs/test $ grove_led 5
# proceeds to run & lights work

Running from a file still fails. Will continue investigation :).