[liblouis-liblouisxml] Liblouis and python

  • From: Андрей Якубой <andrewia2002@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 19 Dec 2020 00:48:31 +0300

Hello everybody!

I'm sorry if my question is too stupid, but I'm absolutely know nothing about programming with Liblouis at the moment. So what should I do to use liblouis with Python? I've installed 'louis' from Python-derrectory of the repo, but when I import it, I get such error:

    liblouis = _loader["###LIBLOUIS_SONAME###"]
  File "C:\Users\andre\AppData\Local\Programs\Python\Python39\lib\ctypes\__init__.py", line 448, in __getitem__
    return getattr(self, name)
  File "C:\Users\andre\AppData\Local\Programs\Python\Python39\lib\ctypes\__init__.py", line 443, in __getattr__
    dll = self._dlltype(name)
  File "C:\Users\andre\AppData\Local\Programs\Python\Python39\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module '###LIBLOUIS_SONAME###' (or one of its dependencies). Try using the full path w
ith constructor syntax.

What should I install to fix it?

Thanks.

Andrey
For a description of the software, to download it and links to
project pages go to http://liblouis.org
Donate: http://liblouis.org/sponsoring

Other related posts: