meshpro / optimesh

:spider_web: Mesh optimization, mesh smoothing.
575 stars 56 forks source link

Import error: cannot import name 'NDArray' from 'numpy.typing' #83

Closed dthillaithevan closed 2 years ago

dthillaithevan commented 2 years ago

Hi,

I have v0.8.3 installed using pip but I am getting the following import error both on MacOS and on linux: import optimesh

ImportError: cannot import name 'NDArray' from 'numpy.typing' (.../anaconda3/envs/fenics_2021/lib/python3.7/site-packages/numpy/typing/__init__.py)

Do you know how I can fix this?

Thanks!

nschloe commented 2 years ago

Update numpy to 1.20+. Should be in the version requirements, I'll fix that.

dthillaithevan commented 2 years ago

Thanks!