BEVFormer icon indicating copy to clipboard operation
BEVFormer copied to clipboard

numpy版本不匹配

Open zhishuifeiqian opened this issue 1 year ago • 5 comments

按照文档一步步下载,但是到python setup.py install这一部的时候出现报错,修改numpy版本也没有用,请问有办法解决吗 image

zhishuifeiqian avatar Oct 16 '23 14:10 zhishuifeiqian

Same problem, any solution?

gxytcrc avatar Nov 10 '23 03:11 gxytcrc

@gxytcrc @zhishuifeiqian I found that this is because nuscenes devkit was updated to 1.1.11 on September 25, 2023, so the requirement for numpy is greater than 1.22. Therefore, we can downgrade nuscenes devkit to 1.1.10

yuezhao1 avatar Nov 27 '23 13:11 yuezhao1

@gxytcrc @zhishuifeiqian I found that this is because nuscenes devkit was updated to 1.1.11 on September 25, 2023, so the requirement for numpy is greater than 1.22. Therefore, we can downgrade nuscenes devkit to 1.1.10

It works, thank you!

gxytcrc avatar Dec 01 '23 05:12 gxytcrc

ImportError: cannot import name 'bool' from 'numpy' (/pub/anaconda3/lib/python3.8/site-packages/numpy/init.py) ,Please provide a solution for the above error, thank you very much!

jkl826 avatar Feb 24 '24 18:02 jkl826

ImportError: cannot import name 'bool' from 'numpy' (/pub/anaconda3/lib/python3.8/site-packages/numpy/init.py) ,Please provide a solution for the above error, thank you very much!

numpy version is too high, you can downgrade to numpy==1.23. like

pip3 install numpy==1.23 -i https://mirrors.aliyun.com/pypi/simple

lix19937 avatar Apr 08 '24 08:04 lix19937