From 8189ff6c661b962e9e21760f8385316f6b1c54e4 Mon Sep 17 00:00:00 2001 From: Thierry Moudiki Date: Wed, 24 Apr 2024 07:35:58 +0200 Subject: [PATCH] Update _adaopt.py --- mlsauce/adaopt/_adaopt.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mlsauce/adaopt/_adaopt.py b/mlsauce/adaopt/_adaopt.py index 5764fee..1088db1 100644 --- a/mlsauce/adaopt/_adaopt.py +++ b/mlsauce/adaopt/_adaopt.py @@ -9,11 +9,8 @@ from ..utils import subsample from ..utils import cluster -import pyximport; pyximport.install(language_level=3) -try: - from . import _adaoptc as adaoptc -except ImportError: - import _adaoptc +import pyximport; pyximport.install(language_level=3) +import _adaoptc