Unified Planning
When I run from unified_planning.shortcuts import *
in the container, I get the following error:
Traceback (most recent call last):
File "/home/developer/ws/src/navigo/navigo/planner.py", line 3, in <module>
from unified_planning.shortcuts import *
File "/usr/local/lib/python3.10/dist-packages/unified_planning/shortcuts.py", line 28, in <module>
from unified_planning.engines import (
File "/usr/local/lib/python3.10/dist-packages/unified_planning/engines/__init__.py", line 17, in <module>
from unified_planning.engines.engine import Engine, OperationMode
File "/usr/local/lib/python3.10/dist-packages/unified_planning/engines/engine.py", line 20, in <module>
from ConfigSpace import ConfigurationSpace
File "/usr/local/lib/python3.10/dist-packages/ConfigSpace/__init__.py", line 31, in <module>
from ConfigSpace.api import (
File "/usr/local/lib/python3.10/dist-packages/ConfigSpace/api/__init__.py", line 1, in <module>
from ConfigSpace.api import distributions, types
File "/usr/local/lib/python3.10/dist-packages/ConfigSpace/api/types/__init__.py", line 1, in <module>
from ConfigSpace.api.types.categorical import Categorical
File "/usr/local/lib/python3.10/dist-packages/ConfigSpace/api/types/categorical.py", line 10, in <module>
from ConfigSpace.hyperparameters import CategoricalHyperparameter, OrdinalHyperparameter
File "/usr/local/lib/python3.10/dist-packages/ConfigSpace/hyperparameters/__init__.py", line 1, in <module>
from .beta_float import BetaFloatHyperparameter
File "ConfigSpace/hyperparameters/beta_float.pyx", line 1, in init ConfigSpace.hyperparameters.beta_float
File "ConfigSpace/hyperparameters/uniform_float.pyx", line 1, in init ConfigSpace.hyperparameters.uniform_float
File "ConfigSpace/hyperparameters/float_hyperparameter.pyx", line 1, in init ConfigSpace.hyperparameters.float_hyperparameter
File "ConfigSpace/hyperparameters/numerical.pyx", line 1, in init ConfigSpace.hyperparameters.numerical
File "ConfigSpace/hyperparameters/hyperparameter.pyx", line 1, in init ConfigSpace.hyperparameters.hyperparameter
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
A quick search for the error message suggests that we need to find a combination of versions of numpy and ConfigSpace that work together (maybe by downgrading numpy to a version before 2.0). Can you please look into this @jennifer.renoux or @pofe ?