Skip to content

Python: Numpy 1.19.4 issue on Windows 2004 #52

@ennerf

Description

@ennerf

Doing pip install hebi-py installs numpy 1.19.4, which fails as soon as a script does import hebi:

RuntimeError: The current Numpy installation ('E:\\toolchains\\.python\\venv\\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

On the link there is a comment by Kevin Sheppard on Nov 3rd:

If you have arrived in this thread from the link in the NumPy import error, it would be more helpful if:

* You upvote this issue to let the C runtime team know this is affecting you.

* Try and avoid making noisy posts that simply paste the traceback or other unhelpful material.


As a workaround, you temporarily pin to NumPy 1.19.3 (`pip install numpy==1.19.3`) which has a fixed version of 
OpenBLAS that works correctly in Windows 2004/20H2. This fix broken other things (Linux, Windows-on-docker) 
and so could not be retained in NumPy 1.19.4.

I confirmed that fixing numpy to 1.19.3 does make it work again on the latest update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions