scarf icon indicating copy to clipboard operation
scarf copied to clipboard

Unsure what this error message is trying to tell me

Open aichander opened this issue 1 year ago • 0 comments

Trying to follow the vignette as described here (https://github.com/parashardhapola/scarf/issues/new?assignees=&labels=&template=bug_report.md&title=) for scrna-seq analysis. The error message is a little ambiguous and my best guess is either an issue with loading certain libraries or incompatible dependancies.

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
_ctypes/callbacks.c in 'calling callback function'()

/opt/conda/lib/python3.7/site-packages/threadpoolctl.py in match_library_callback(info, size, data)
    546 
    547                 # Store the library controller if it is supported and selected
--> 548                 self._make_controller_from_path(filepath)
    549             return 0
    550 

/opt/conda/lib/python3.7/site-packages/threadpoolctl.py in _make_controller_from_path(self, filepath)
    671                 prefix=prefix,
    672                 user_api=user_api,
--> 673                 internal_api=internal_api,
    674             )
    675             self.lib_controllers.append(lib_controller)

/opt/conda/lib/python3.7/site-packages/threadpoolctl.py in __init__(self, **kwargs)
    784 
    785     def __init__(self, **kwargs):
--> 786         super().__init__(**kwargs)
    787         self.threading_layer = self._get_threading_layer()
    788         self.architecture = self._get_architecture()

/opt/conda/lib/python3.7/site-packages/threadpoolctl.py in __init__(self, filepath, prefix, user_api, internal_api)
    752         self.prefix = prefix
    753         self.filepath = filepath
--> 754         self._dynlib = ctypes.CDLL(filepath, mode=_RTLD_NOLOAD)
    755         self.version = self.get_version()
    756 

/opt/conda/lib/python3.7/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)
    362 
    363         if handle is None:
--> 364             self._handle = _dlopen(self._name, mode)
    365         else:
    366             self._handle = handle

OSError: dlopen() error

To Reproduce

ds.make_graph(
    feat_key='hvgs',
    k=11,
    dims=15,
    n_centroids=100
)

Scarf and Python version

Python 3.7.12
Scarf 0.26.3
Numpy 1.20.0
Scipy 1.7.3

aichander avatar Apr 26 '23 21:04 aichander