Closed ktro2828 closed 11 months ago
I created a PR to specify numpy>=1.22.0
and opencv-python>=4.5.4.58
, please check it! https://github.com/nutonomy/nuscenes-devkit/pull/969
@ktro2828 thanks for pointing out the issue and opening a PR :+1: I've approved and merged your PR
@whyekit-motional Thanks for merging! I want to install nuscenes-devkit
after this PR is merged via pip
or rosdep
, so could you update the source distribution? https://pypi.org/project/nuscenes-devkit/#modal-close
@ktro2828 apologies for the late reply - I've now released v1.1.11
Hi, I encountered the following error. This is occurred depending on the version mismatch of
opencv-python
andnumpy
.I found that this error happens if
opencv-python==4.8.0.76
(latest version) andnumpy<1.22.0
. Because, in ubuntu-22.04,numpy==1.21.5
is installed by defaults pip does not install newer version ofnumpy
, then this error occurs. The related issue in opencv is here.Although
nuscenes-devkit
does not specify the versions ofopencv-python
andnumpy
, how about specifying the version ofopencv-python
andnumpy
explicitly, or do you have any ideas to avoid this?