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

Unsure what this error message is trying to tell me #89

Open
aichander opened this issue Apr 26, 2023 · 0 comments
Open

Unsure what this error message is trying to tell me #89

aichander opened this issue Apr 26, 2023 · 0 comments

Comments

@aichander
Copy link

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
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

1 participant