Closed NeuroManer closed 2 years ago
import dmsh Traceback (most recent call last): File "
", line 1, in File "C:\ResearchSoftwares\Miniconda\envs\py37_physics\lib\site-packages\dmsh__init.py", line 18, in from .main import generate File "C:\ResearchSoftwares\Miniconda\envs\py37_physics\lib\site-packages\dmsh\main.py", line 6, in init.py", line 3, inimport meshplex File "C:\ResearchSoftwares\Miniconda\envs\py37_physics\lib\site-packages\meshplex\ from ._mesh import Mesh File "C:\ResearchSoftwares\Miniconda\envs\py37_physics\lib\site-packages\meshplex_mesh.py", line 8, in init__.py)from numpy.typing import ArrayLike, NDArray ImportError: cannot import name 'NDArray' from 'numpy.typing' (C:\ResearchSoftwares\Miniconda\envs\py37_physics\lib\site-packages\numpy\typing\
Ah, apparently meshplex needs a newer numpy. I raised its dependency requirement, so this should be resolved. (If not, just manually upgrade numpy and you should be fine.)
Show the error
ImportError: cannot import name 'NDArray' from 'numpy.typing'