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

No module named 'numpy.typing' error #2

Open
daeheepark opened this issue Mar 19, 2023 · 1 comment
Open

No module named 'numpy.typing' error #2

daeheepark opened this issue Mar 19, 2023 · 1 comment

Comments

@daeheepark
Copy link

At first, thank you for amazing code release!

I followed the instruction in README, but faced ModuleNotFoundError: No module named 'numpy.typing'.

I found that numpy version 1.19.5 is to be installed in "mmdetection3d-0.17.3/.github/workflows/build.yml".

However, as I know, numpy.typing is introduced after numpy version 1.20 (https://stackoverflow.com/questions/67117848/a-question-about-modulenotfounderror-no-module-named-numpy-typing).

In addition, when i upgrade the numpy to version 1.20.3, I get ImportError: cannot import name 'NDArray' from 'numpy.typing'.

Which version should I upgrade for numpy?

@yuantianyuan01
Copy link
Contributor

You can try upgrading numpy to 1.23.4.

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