discretize icon indicating copy to clipboard operation
discretize copied to clipboard

Pip installer fails on Windows

Open domfournier opened this issue 4 years ago • 3 comments

Installing discretize from pip returns this error on windows: image

domfournier avatar Apr 19 '21 17:04 domfournier

Try updating numpy to >1.20.

jcapriot avatar Apr 19 '21 17:04 jcapriot

Did you ever find a solution to this problem? I'm currently having the same issue trying to install on a new computer.

Furlan63 avatar May 02 '22 17:05 Furlan63

This error implies a binary incompatibility between numpy and discretize, which likely means that pre-built wheels provided for windows on pypi are compiled against a version of numpy that is newer than the one you currently have in your environment.

If you do not want to use conda-forge to install discretize then, as indicated above, try updating your numpy installation, or installing from source.

jcapriot avatar May 02 '22 19:05 jcapriot

Assuming that solution worked, closing this issue

jcapriot avatar Mar 16 '23 16:03 jcapriot