Hi
-What interface of acados
are you using? Python 3.8.10
The machine is ubuntu 20.04
I installed acados as recommended in the documentation:
git clone https://github.com/acados/acados.git
cd acados
git submodule update --recursive --init
mkdir -p build
cd build
cmake-gui
make
pip install -e <acados_root>/interfaces/acados_template
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"<acados_root>/lib"
export ACADOS_SOURCE_DIR="<acados_root>"
(Also i did replace acados root with my actual acados root)
Then i tried import acados_template
and i got the following error:
Python 3.8.10 (default, Sep 11 2024, 16:02:53)
[GCC 9.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.import acados_template
Traceback (most recent call last):
File “”, line 1, in
File “/home/nouf/acados/interfaces/acados_template/acados_template/init.py”, line 39, in
from .acados_ocp_batch_solver import AcadosOcpBatchSolver
File “/home/nouf/acados/interfaces/acados_template/acados_template/acados_ocp_batch_solver.py”, line 32, in
from .acados_ocp_solver import AcadosOcpSolver
File “/home/nouf/acados/interfaces/acados_template/acados_template/acados_ocp_solver.py”, line 62, in
class AcadosOcpSolver:
File “/home/nouf/acados/interfaces/acados_template/acados_template/acados_ocp_solver.py”, line 715, in AcadosOcpSolver
seed_x: Optional[Sequence[Tuple[int, np.ndarray]]],
TypeError: ‘ABCMeta’ object is not subscriptable
Can anyone please help me with this error, has anyone met this error before?