Open robin-po opened 1 month ago
Hello,
How did you install the new version?
If you just did something like git pull
then the behaviour is expected, because of missing C++ extensions.
There are pre-build wheels for Windows available (3.8 ... 3.13), so pip install pya2ldb
should do the trick.
Building from source is a bit challenging, a up-to-date C++23 compiler, cmake, and a Java compiler is required.
I install it with pip install pya2ldb
This error seems to occur with python 3.11 and 3.13.
I created a new venv
with Python 3.12 and the error was gone
I tried to install the new version 0.13.1 and I can't use the import_a2l method anymore (which was working fine with 0.12.48).
The problem comes when importing parsers:
import pya2l.parsers
I have the following error:
ModuleNotFoundError: No module named 'pya2l.a2lparser_ext'
Python version: 3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)] pya2ldb version: 0.13.1