Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: Could not load shared object file: libllvmlite.so #148

Open
yashmahendra13 opened this issue Mar 5, 2021 · 1 comment
Open

Comments

@yashmahendra13
Copy link

yashmahendra13 commented Mar 5, 2021

Getting OSError when importing swifter

<ipython-input-3-dee83308f566> in <module>
----> 1 import swifter

~/.local/lib/python3.7/site-packages/swifter/__init__.py in <module>
      3 import warnings
      4 from logging import config
----> 5 from .swifter import SeriesAccessor, DataFrameAccessor
      6 from .parallel_accessor import register_parallel_dataframe_accessor, register_parallel_series_accessor, register_modin
      7 

~/.local/lib/python3.7/site-packages/swifter/swifter.py in <module>
     12 from .tqdm_dask_progressbar import TQDMDaskProgressBar
     13 
---> 14 from .base import (
     15     _SwifterBaseObject,
     16     suppress_stdout_stderr_logging,

~/.local/lib/python3.7/site-packages/swifter/base.py in <module>
      8 ERRORS_TO_HANDLE = [AttributeError, ValueError, TypeError, KeyError]
      9 try:
---> 10     from numba.core.errors import TypingError
     11 
     12     ERRORS_TO_HANDLE.append(TypingError)

/usr/local/lib64/python3.7/site-packages/numba/core/errors.py in <module>
      9 import sys
     10 import warnings
---> 11 import numba.core.config
     12 import numpy as np
     13 from collections import defaultdict

/usr/local/lib64/python3.7/site-packages/numba/core/config.py in <module>
     14 
     15 
---> 16 import llvmlite.binding as ll
     17 
     18 IS_WIN32 = sys.platform.startswith('win32')

/usr/local/lib64/python3.7/site-packages/llvmlite/binding/__init__.py in <module>
      2 Things that rely on the LLVM library
      3 """
----> 4 from .dylib import *
      5 from .executionengine import *
      6 from .initfini import *

/usr/local/lib64/python3.7/site-packages/llvmlite/binding/dylib.py in <module>
      1 from ctypes import c_void_p, c_char_p, c_bool, POINTER
      2 
----> 3 from llvmlite.binding import ffi
      4 from llvmlite.binding.common import _encode_string
      5 

/usr/local/lib64/python3.7/site-packages/llvmlite/binding/ffi.py in <module>
    151         break
    152 else:
--> 153     raise OSError("Could not load shared object file: {}".format(_lib_name))
    154 
    155 

OSError: Could not load shared object file: libllvmlite.so```
@jmcarpenter2
Copy link
Owner

Similar issue to #175 -- looks like running the tests on windows needs to happen as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants