[Numpy-discussion] problem with numpy 1.19.4 install via pip on Win 10

Sebastian Berg sebastian at sipsolutions.net
Wed Dec 2 19:37:26 EST 2020


On Thu, 2020-12-03 at 01:13 +0100, Ilhan Polat wrote:
> Yes this is known and we are waiting MS to roll out a solution for
> this.
> Here are more details
> https://developercommunity2.visualstudio.com/t/fmod-after-an-update-to-windows-2004-is-causing-a/1207405


I think one workaround was `pip install numpy==1.19.3`, which uses a
different OpenBLAS that avoids the worst of the windows bug.

- Sebastian


> 
> On Thu, Dec 3, 2020 at 12:57 AM Alan G. Isaac <alan.isaac at gmail.com>
> wrote:
> 
> > numpy 1.19.3 installs fine.
> > numpy 1.19.4 appears to install but does not work.
> > (Details below. The supplied tinyurl appears relevant.)
> > Alan Isaac
> > 
> > PS test> python38 -m pip install -U numpy
> > Collecting numpy
> >    Using cached numpy-1.19.4-cp38-cp38-win_amd64.whl (13.0 MB)
> > Installing collected packages: numpy
> > Successfully installed numpy-1.19.4
> > PS test> python38
> > Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC
> > v.1916 64
> > bit (AMD64)] on win32
> > Type "help", "copyright", "credits" or "license" for more
> > information.
> >  >>> import numpy
> >   ** On entry to DGEBAL parameter number  3 had an illegal value
> >   ** On entry to DGEHRD  parameter number  2 had an illegal value
> >   ** On entry to DORGHR DORGQR parameter number  2 had an illegal
> > value
> >   ** On entry to DHSEQR parameter number  4 had an illegal value
> > Traceback (most recent call last):
> >    File "<stdin>", line 1, in <module>
> >    File "C:\Program Files\Python38\lib\site-
> > packages\numpy\__init__.py",
> > line 305, in <module>
> >      _win_os_check()
> >    File "C:\Program Files\Python38\lib\site-
> > packages\numpy\__init__.py",
> > line 302, in _win_os_check
> >      raise RuntimeError(msg.format(__file__)) from None
> > RuntimeError: The current Numpy installation ('C:\\Program
> > Files\\Python38\\lib\\site-packages\\numpy\\__init__.py') fails to
> > pass a
> > sanity check due to a bug
> > in the windows runtime. See this issue for more information:
> > https://tinyurl.com/y3dm3h86
> >  >>>
> > _______________________________________________
> > NumPy-Discussion mailing list
> > NumPy-Discussion at python.org
> > https://mail.python.org/mailman/listinfo/numpy-discussion
> > 
> 
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://mail.python.org/pipermail/numpy-discussion/attachments/20201202/c7650341/attachment-0001.sig>


More information about the NumPy-Discussion mailing list