apple / turicreate

Turi Create simplifies the development of custom machine learning models.
BSD 3-Clause "New" or "Revised" License
11.2k stars 1.14k forks source link

I got stuck at importing turicreate in jupyter notebook (WSL) #3182

Open rabiulrafi opened 4 years ago

rabiulrafi commented 4 years ago

when i'm try to importing the turicreate it show's an error like: import turicreate `ImportError Traceback (most recent call last)

in ----> 1 import turicreate ~/ML/venv/lib/python3.6/site-packages/turicreate/__init__.py in 17 from turicreate.version_info import __version__ 18 ---> 19 from turicreate.data_structures.sgraph import Vertex, Edge 20 from turicreate.data_structures.sgraph import SGraph 21 from turicreate.data_structures.sarray import SArray ~/ML/venv/lib/python3.6/site-packages/turicreate/data_structures/__init__.py in 16 17 from . import image ---> 18 from . import sframe 19 from . import sarray 20 from . import sgraph ~/ML/venv/lib/python3.6/site-packages/turicreate/data_structures/sframe.py in 14 from __future__ import division as _ 15 from __future__ import absolute_import as _ ---> 16 from .._connect import main as glconnect 17 from .._cython.cy_flexible_type import infer_type_of_list 18 from .._cython.context import debug_trace as cython_context ~/ML/venv/lib/python3.6/site-packages/turicreate/_connect/main.py in 11 from __future__ import absolute_import as _ 12 ---> 13 from .._cython.cy_unity import UnityGlobalProxy 14 from .._cython.cy_server import EmbeddedServer 15 ImportError: libunity_shared.so: cannot enable executable stack as shared object requires: Invalid argument.` **What's step i took to fix that issue:** I uninstalled the turicreate and reinstall it but in vain to import it , same issues shows again. Plz help me to solve that issue.
TobyRoseman commented 4 years ago

I think this is an issue with WSL.