Error installing the Dlubal Python package

Hello dear community,
I always get this error when installing the Python package. Whether I follow your instructions via the terminal, manually or automatically. The error message is always the same. Installation via the client also does not work. The same error message also appears with older versions. Please help.
This is what the error message looks like:

C:\Users\Immanuel\Desktop\API> pip install dlubal.api
Collecting dlubal.api
Using cached dlubal_api-2.14.3-py3-none-any.whl.metadata (2.7 kB)
Collecting grpcio==1.76.0 (from dlubal.api)
Using cached grpcio-1.76.0-cp314-cp314-win_amd64.whl.metadata (3.8 kB)
Collecting grpcio-tools==1.76.0 (from dlubal.api)
Using cached grpcio_tools-1.76.0-cp314-cp314-win_amd64.whl.metadata (5.5 kB)
Collecting pandas==2.2.3 (from dlubal.api)
Using cached pandas-2.2.3.tar.gz (4.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
+ meson setup C:\Users\Immanuel\AppData\Local\Temp\pip-install-lxrtznla\pandas_c0769e04aa4d45dba2e01d1bc249af68 C:\Users\Immanuel\AppData\Local\Temp\pip-install-lxrtznla\pandas_c0769e04aa4d45dba2e01d1bc249af68.mesonpy-sd6xk02t\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\Immanuel\AppData\Local\Temp\pip-install-lxrtznla\pandas_c0769e04aa4d45dba2e01d1bc249af68.mesonpy-sd6xk02t\build\meson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: C:\Users\Immanuel\AppData\Local\Temp\pip-install-lxrtznla\pandas_c0769e04aa4d45dba2e01d1bc249af68
Build dir: C:\Users\Immanuel\AppData\Local\Temp\pip-install-lxrtznla\pandas_c0769e04aa4d45dba2e01d1bc249af68.mesonpy-sd6xk02t\build
Build type: native build
Project name: pandas
Project version: 2.2.3
....\meson.build:2:0: ERROR: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
A full log can be found at C:\Users\Immanuel\AppData\Local\Temp\pip-install-lxrtznla\pandas_c0769e04aa4d45dba2e01d1bc249af68.mesonpy-sd6xk02t\build\meson-logs\meson-log.txt
[end of output]

Thank you very much for your help!

Immanuel Cordes

Hi Immanuel.Cordes,

I assume you are using Python 3.14, which currently does not allow the API to be installed. The good news is that the error has been fixed. With the next version 2.14.4 of the API, the error will be a thing of the past. If it is urgent, you can start your project with Python 3.13 and update later.

Best regards
Robert Milrath

Hi Robert Milrath,

thank you very much! That solved my problem!

Best regards

Immanuel Cordes

1 Like