pythondlldllimportpyarrowsumo

DLL load failure when importing both libsumo and pyarrow


I'm creating new venv (using virtualenv) with Python 3.12. The only two packages I'm installing are libsumo and pyarrow.

When I run only this line:

import libsumo

or only this line:

import pyarrow

Everything is working fine. However once I try to import both, the second one fails.

import libsumo

import pyarrow

import pyarrow.lib as _lib ImportError: DLL load failed while importing lib: Die angegebene Prozedur wurde nicht gefunden.

Package versions:

System:


Solution

  • Just to have an answer here: It is important that libsumo is linked against the same Arrow version as pyarrow. Currently this is 20.0.0 but I agree that it would be nice if libsumo tells you that that's why I opened a ticket: https://github.com/eclipse-sumo/sumo/issues/17324

    So the solution for the immediate issue is to downgrade pyarrow by doing pip install pyarrow==20.0.0.