Hello,
I'm new to spot and a bit of a novice with coding in general but I've been running into an issue related to one of the modules that comes with spot when attempting to run python code using the spot python bindings:
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_impl'
I understand if it is too difficult to diagnose with the limited output, but I didn't want to bombard anyone with lengthy output. I am running Ubuntu 18.04 (Bionic Beaver) and have successfully installed spot using ./configure, make, make install. Prior to installing spot, I also installed the latest version of swig. I've also verified that the relevant .so files are located within my .local/lib/python3.6/site-packages/spot directory.
If this issue with using import_module to locate the _impl package looks familiar, any information would be much appreciated.
Thank you!
Best, Lonnie
Hi Lonnie,
On Sun, Jan 6, 2019 at 10:14 AM Lonnie Parker parker.lonnie@gmail.com wrote:
ModuleNotFoundError: No module named '_impl'
[...] I've also verified that the relevant .so files are located within my .local/lib/python3.6/site-packages/spot directory.
I suspect you need export LD_LIBRARY_PATH=$HOME/.local/lib/python3.6/site-packages:$HOME/.local/lib/python3.6/site-packages/spot:$LD_LIBRARY_PATH
If that does not help, please send a copy of config.log along with the complete error message and a listing of the files installed in ~/.local/lib/python3.6/site-packages/
Best regards,