@B.Goode - same error even with updated file name ("module 'sense-hat' has no attribute 'SenseHat'). Dump from Shell here:
>>> %Run colourwash.py
Traceback (most recent call last):
File "/home/pi/Desktop/sensehatscripts/colourwash.py", line 3, in <module>
from sense_hat import SenseHat
File "/usr/lib/python3/dist-packages/sense_hat/__init__.py", line 2, in <module>
from .sense_hat import SenseHat, SenseHat as AstroPi
File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 7, in <module>
import numpy as np
File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 142, in <module>
from . import add_newdocs
File "/usr/lib/python3/dist-packages/numpy/add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "/usr/lib/python3/dist-packages/numpy/lib/__init__.py", line 8, in <module>
from .type_check import *
File "/usr/lib/python3/dist-packages/numpy/lib/type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 72, in <module>
from numpy.testing.nosetester import _numpy_tester
File "/usr/lib/python3/dist-packages/numpy/testing/__init__.py", line 12, in <module>
from . import decorators as dec
File "/usr/lib/python3/dist-packages/numpy/testing/decorators.py", line 20, in <module>
from .utils import SkipTest, assert_warns
File "/usr/lib/python3/dist-packages/numpy/testing/utils.py", line 15, in <module>
from tempfile import mkdtemp, mkstemp
File "/usr/lib/python3.5/tempfile.py", line 184, in <module>
from random import Random as _Random
File "/home/pi/Desktop/sensehatscripts/random.py", line 34, in <module>
_sense = sense_hat.SenseHat()
AttributeError: module 'sense_hat' has no attribute 'SenseHat'
>>>
However, @scotty101 following your directions I am now looking at a red L on the Sense HAT matrix and no errors. When I moved a script from my previous folders to the test_folder, it now executes perfectly, no errors. When I try to execute any script, even yours, from my previous folder, it gives the above error (shell dump above).
Image here:
https://drive.google.com/open?id=1MZ6DG ... bKVgnPlfWC
Any ideas on the cause, what am I missing, as simple as folder permissions?
Huge kudos for the fast responses and help, great community here!
Cheers