master
/ miniconda3 / lib / python3.11 / site-packages / libmambapy / __init__.py

__init__.py @74036c5 raw · history · blame

1
2
3
4
5
6
7
8
9
import os

try:
    from libmambapy.bindings import *  # noqa: F401,F403
except ImportError as e:
    if not os.environ.get("CONDA_BUILD_CROSS_COMPILATION"):
        raise e
    else:
        print("libmambapy import error ignored due to cross compilation")