Cannot import name 'Noise' from 'enviroplus.noise'

Hi,

I’m struggling with the noise library for the enviro+ hat. I managed to clone it using this command: git clone --branch noise https://github.com/pimoroni/enviroplus-python.git

However, whenever i try to run my code and even the examples available on github ( https://github.com/pimoroni/enviroplus-python/blob/noise/examples/noise-profile.py ) i get the error: ImportError: cannot import name ‘Noise’ from ‘enviroplus.noise’ (/usr/local/lib/python3.7/dist-packages/enviroplus-0.0.1-py3.7.egg/enviroplus/noise.py)

Any help on how to solve this would be really appreciated.

3 Likes

Would like to bump this as I have the same issue after installing the latest version from github.

I can see the noise.py in the enviroplus library but I’m not sure how to get python to recognise the module. Probably a basic issue.

Any updates on the Noise library for Enviroplus or enviroplus-mini?

thanks