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

Unable to build detectron2 with python 3.10 since 3.8 version is going to close soon. #5359

Open
DivyaKanniah opened this issue Sep 3, 2024 · 2 comments

Comments

@DivyaKanniah
Copy link

hi team,

i am unable to build the docker image with python 3.10 version since i need to upgrade from 3.8 as it expires sooner ,

below is my error :
numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject"

@github-actions github-actions bot added the needs-more-info More info is needed to complete the issue label Sep 3, 2024
Copy link

github-actions bot commented Sep 3, 2024

You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template.
The following information is missing: "Instructions To Reproduce the Issue and Full Logs";

@DivyaKanniah
Copy link
Author

"Instructions To Reproduce the Issue and Full Logs :

Build docker with python 3.10

logs:
{
"errorMessage": "numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject",
"errorType": "ValueError",
"requestId": "",
"stackTrace": [
" File "/var/lang/lib/python3.9/importlib/init.py", line 127, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n",
" File "", line 1030, in _gcd_import\n",
" File "", line 1007, in _find_and_load\n",
" File "", line 986, in _find_and_load_unlocked\n",
" File "", line 680, in _load_unlocked\n",
" File "", line 850, in exec_module\n",
" File "", line 228, in _call_with_frames_removed\n",
" File "/var/task/Summary_New_Post_JSON_Lambda.py", line 6, in \n import pandas as pd\n",
" File "/var/task/pandas/init.py", line 22, in \n from pandas.compat import is_numpy_dev as _is_numpy_dev\n",
" File "/var/task/pandas/compat/init.py", line 15, in \n from pandas.compat.numpy import (\n",
" File "/var/task/pandas/compat/numpy/init.py", line 4, in \n from pandas.util.version import Version\n",
" File "/var/task/pandas/util/init.py", line 1, in \n from pandas.util._decorators import ( # noqa:F401\n",
" File "/var/task/pandas/util/_decorators.py", line 14, in \n from pandas._libs.properties import cache_readonly # noqa:F401\n",
" File "/var/task/pandas/_libs/init.py", line 13, in \n from pandas._libs.interval import Interval\n",
" File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval\n import numbers\n"
]
}

@github-actions github-actions bot removed the needs-more-info More info is needed to complete the issue label Sep 3, 2024
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

1 participant