facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
30.34k stars 7.46k forks source link

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

Open DivyaKanniah opened 1 month ago

DivyaKanniah commented 1 month ago

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[bot] commented 1 month ago

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 commented 1 month ago

"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" ] }

CodePint commented 2 weeks ago

Anyone? We just need a new wheel building and publishing to pypy?