Dear users and developers, I have just installed Rhino 8, with an educational license (I am at TU Delft).
I was excited of the possibilities of importing numpy and scipy in the brand new Python3 component. I followed the instructions to install them both from the embedded command inside the component in grasshopper.
However, when I try to import numpy in the component, after a successfull installation and reboot of Rhino, I keep getting this error:
Traceback (most recent call last):
File “rhinocode:///grasshopper/1/a4fb2371-8537-45dd-ae4c-4e2b79815918/57d068f2-9adf-4627-ac3b-2c24fa702bed”, line 1, in
File “C:\Users\frenc.rhinocode\py39-rh8\site-envs\default-UhMUKnhn\numpy_init_.py”, line 114, in
delvewheel_patch_1_8_0()
File "C:\Users\frenc.rhinocode\py39-rh8\site-envs\default-UhMUKnhn\numpy_init.py", line 92, in delvewheel_patch_1_8_0
import ctypes
File "C:\Users\frenc.rhinocode\py39-rh8\lib\ctypes_init.py", line 8, in
from _ctypes import Union, Structure, Array
ImportError: Module use of python39.dll conflicts with this version of Python.
It’s two days that I am trying to solve the issue, I have uninstalled all the other python I had on my compute, along with numpy, scipy and scikit-learn that I had installed on my system.
I also tried to uninstall Rhino 8 and cancell all the folders and files related.
Unfortunately, I keep having this same issue.
Can anybody help me?
Many thanks for your time and consideration!
Frank