Hello everybody,
I am testing a simple passthrough python module. When I start $halrun and
halcmd: loadusr passthrough.py
I get an error message:
import hal
ImportError: No module named 'hal'
Does anybody have an idea what is the problem when I try to load the python module from hal? When I start $python instead and try to >>> import hal within python, I get no complaints about missing hal module.
Regards
Klemen
--------------------------
My system:
$uname -a
Linux beaglebone 4.19.120-bone-rt-r50 #1stretch PREEMPT RT Fri May 8 22:45:31 UTC 2020 armv7l GNU/Linux
$ python -V
Python 2.7.13
passthrough.py module: