Open SolidState74 opened 4 years ago
I'm trying to import samplebase into my own script but get the following error:
Traceback (most recent call last): File "test.py", line 3, in from samplebase import SampleBase ImportError: No module named samplebase
I am very new to Python, so I'm sure I've (not) done something necessary. How do I include the samplebase import into my own custom script?
Is your test.py file in the same directory as the samplebase.py file?
test.py
samplebase.py
If not, you could try putting test.py in rpi-rgb-led-matrix/bindings/python/samples.
rpi-rgb-led-matrix/bindings/python/samples
I'm trying to import samplebase into my own script but get the following error:
Traceback (most recent call last): File "test.py", line 3, in
from samplebase import SampleBase
ImportError: No module named samplebase
I am very new to Python, so I'm sure I've (not) done something necessary. How do I include the samplebase import into my own custom script?