ornladios / ADIOS2

Next generation of ADIOS developed in the Exascale Computing Program
https://adios2.readthedocs.io/en/latest/index.html
Apache License 2.0
268 stars 125 forks source link

error loading adios 2.10.1 into python3.12.4 #4230

Open dpugmire opened 2 months ago

dpugmire commented 2 months ago

Describe the bug Cannot load adios2.10.1 into python3.12.4 on a MacBook. I get the following error:

ImportError: cannot import name 'or_' from 'operator' (/Users/dpn/sw/adios2/2.10.1/install/lib/python3.12/site-packages/adios2/operator.py) Python 3.12.4 (main, Jun 6 2024, 18:26:44) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin Type "help", "copyright", "credits" or "license" for more information.

To Reproduce To reproduce: export PYTHONPATH=:$PYTHONPATH python3 import adios2

Expected behavior

Desktop (please complete the following information): MacOS 14.5 python3.12.4 adios2.10.1

adios2 built with clang 15.0.0

Additional context

Following up

vicentebolea commented 1 month ago

Can you attach a copy of the files at /Users/dpn/sw/adios2/2.10.1/install/lib/python3.12/site-packages/adios2/