LibreDWG / libredwg

Official mirror of libredwg. With CI hooks and nightly releases. PR's ok
https://savannah.gnu.org/projects/libredwg/
GNU General Public License v3.0
931 stars 228 forks source link

_LibreDWG.so missing from python bindings #975

Open Katyos opened 4 months ago

Katyos commented 4 months ago

Using the precompiled windows binaries for version 13.3. When I import the LibreDWG.py module the first thing it does is look for the _LibreDWG.so file. However, this file is nowhere to be found in either the site-packages folder or the zip file as a whole.

Is there another file in the package that can be pointed to to do the same job? If not, would it be possible to ensure that the .so file is included in the python library please?

rurban commented 1 month ago

A windows release does have no _LibreDWG.so file. It's called lib/python3.11/site-packages/_LibreDWG-0.dll there. I'll see where this wrong .so thing comes from.

Nobujine commented 1 month ago

See this from SWIG documentation: https://www.swig.org/Doc1.3/Python.html#Python_nn9

I get this same error when trying to use the python module