Skip to content

Python (SPYDER) Import modules  #41

@loooo94

Description

@loooo94

Hi, I've just tried to import numpy or matplotlib in grasshopper with GH_CPython.
I have Spyder 3 (ANACONDA), Python standalone, Microsoft Visual studio.
My operating system is Windows 10.

It gives me a long errors messages and gives me some advise like:

  1. D:\anaconda3\lib\site-packages\numpy_init_.py:140: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
    "

from . import distributor_init
Traceback (most recent call last):
File "D:\anaconda3\lib\site-packages\numpy\core_init
.py", line 24, in
from . import multiarray
File "D:\anaconda3\lib\site-packages\numpy\core\multiarray.py", line 14, in
from . import overrides
File "D:\anaconda3\lib\site-packages\numpy\core\overrides.py", line 7, in
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\GH_CPython\PythonFileWritten_6.py", line 24, in
import numpy as np
File "D:\anaconda3\lib\site-packages\numpy_init_.py", line 142, in
from . import core
File "D:\anaconda3\lib\site-packages\numpy\core_init_.py", line 54, in
raise ImportError(msg)
ImportError:

"

So, I don't knwo how can I figure out this issue! My goal is be able to use the whole python libraries on Grasshopper.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions