Anyone have a clue why I'm getting this message?
First, you should start your own thread.Loki is the cute wrote: ↑Fri Apr 26, 2019 3:37 pmMy sense hat doesn’t work I Press Run but nothing happens
Does it work or not in IDLE3 ?WiPi7 wrote: ↑Wed May 01, 2019 3:20 amI see several other posts here that indicate others are having problems with their Sense Hats. I initially got my sense hat working. But the magnetometer settings were way out. Their ranges did not make any sense. I had a working magnetometer right here and the Sense Hat magnetometer values were completely wrong. Inaccurate and unresponsive. It did not look like a calibration issue, it looked like either a hardware issue or an issue with the supporting software. Also, my temperature probes numbers were simply over 10 degrees out. I calibrated the magnetometer according to the forum posts in the link below and the results did not improve.
viewtopic.php?f=104&t=109064&p=750616#p810193
The second time I calibrated I started getting the error below:
Python 3.5.3 (/usr/bin/python3)
>>> %Run humidity.py
Traceback (most recent call last):
File "/home/pi/Programs/Sense Hat Samples/humidity.py", line 1, in <module>
from sense_hat import SenseHat
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 305, in _custom_import
module = self._original_import(*args, **kw)
File "/home/pi/Programs/Sense Hat Samples/sense_hat.py", line 17, in <module>
from .stick import SenseStick
File "/usr/lib/python3/dist-packages/thonny/backend.py", line 305, in _custom_import
module = self._original_import(*args, **kw)
SystemError: Parent module '' not loaded, cannot perform relative import
>>>
That error has persisted, rebooting did not help, nothing helped.
I will give this one day and then send back my two Sense Hats. My belief is that they are simply not viable as magnetometers. It looks like they worked at one time but perhaps the supporting libraries have changed to the point where they are no longer viable? I will keep my Raspberry Pis and use other magnetometers with them.
Good luck to everybody with their Sense Hats.
