Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade numpy to fix numpy.dtype size changed error #200

Open
Arnhoudt opened this issue Dec 14, 2024 · 1 comment
Open

Downgrade numpy to fix numpy.dtype size changed error #200

Arnhoudt opened this issue Dec 14, 2024 · 1 comment

Comments

@Arnhoudt
Copy link

When re-evaluating previously working tasks, Dodona returns an internal error. This issue may be resolved by downgrading numpy to version 1.26.4.
Traceback:
File "/mnt/Ek3q8G1s6g7aLyrTnRkXow/judge/sql_judge.py", line 19, in
from judge.sql_database import SQLDatabase, sql_run_pragma_startup_queries
File "/mnt/Ek3q8G1s6g7aLyrTnRkXow/judge/judge/sql_database.py", line 11, in
from .sql_query_result import SQLQueryResult
File "/mnt/Ek3q8G1s6g7aLyrTnRkXow/judge/judge/sql_query_result.py", line 6, in
import pandas as pd # type: ignore
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pandas/init.py", line 46, in
from pandas.core.api import (
File "/usr/local/lib/python3.12/site-packages/pandas/core/api.py", line 1, in
from pandas._libs import (
File "/usr/local/lib/python3.12/site-packages/pandas/_libs/init.py", line 18, in
from pandas._libs.interval import Interval
File "interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

@BTWS2
Copy link
Contributor

BTWS2 commented Jan 2, 2025

Does it work now? @jorg-vr downgraded the numpy version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants