dmsh icon indicating copy to clipboard operation
dmsh copied to clipboard

Anaconda - dmsh installation problem

Open griff10000 opened this issue 3 years ago • 2 comments

I have a new machine with Windows 11 and have installed Anaconda3-2021.11-Windows-x86_64.

Tried running in powershell window: conda install dmsh Not found.

Tried: pip install dmsh This installed dmsh.

But get following error when running a simple dmsh application that ran on my old Windows 10 machine:

ImportError: cannot import name 'NDArray' from 'numpy.typing' (C:\Users\Graham\anaconda3\lib\site-packages\numpy\typing\__init__.py)

The installed numpy version = 1.20.3

griff10000 avatar Feb 18 '22 13:02 griff10000

I second that, some of my students had the issue during a practical and I ended up generating the mesh on my machine and sending them the arrays.

Windows 10, anaconda and numpy 1.20.X

matael avatar Apr 06 '22 09:04 matael

From memory ... After, pip install dmsh To get the new dmesh to work on Windows 11 and anaconda, I had to remove my existing numpy version and then re-install version 1.22.2 Hope this works.

griff10000 avatar Apr 07 '22 14:04 griff10000