TylerGubala / blenderpy

Blender as a python module with easy-install
GNU General Public License v3.0
314 stars 30 forks source link

[RuntimeError] Numpy sanity check (numpy version 1.19.4) #62

Open mganglb opened 3 years ago

mganglb commented 3 years ago

Describe the bug Win 10 Anaconda py3.7.9

To Reproduce Steps to reproduce the behavior: pip install bpy && bpy_post_install pip install numpy (today latest: 1.19.4)

python import bpy

blender RuntimeError: The current Numpy installation ('C:\Users\mgangl\Anaconda3\envs\py37\lib\site-packages\numpy\init.py') fails to pass a sanity check due to a bug in the windows runtime.

Expected behavior it works

Solution: pip unistall numpy pip install numpy==1.19.3

Python 3.7.9 (default, Aug 31 2020, 17:10:11) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import bpy
AL lib: (EE) ALCmmdevPlayback_open: Device init failed: 0x80070490
>>> exit()
Error: Not freed memory blocks: 8, total unfreed memory 0.010223 MB
caniko commented 3 years ago

This is only the case if you have AMD CPU. Issues with AVX-instructions, I believe.

mganglb commented 3 years ago

@caniko i have intel.