Skip to content

No module named 'numpy.typing' error #2

@daeheepark

Description

@daeheepark

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions