Closed VivianQM closed 10 months ago
Hi @VivianQM , thanks for reporting an issue.
Here is a post from stackoverflow that looks like it might be related to your error:
When reporting issues with software, it is good practice to share your operating system version, python version, and all package versions.
I have an inkling that your system might not have OpenBLAS installed, so that might be why you're seeing this error message:
File ~/anaconda3/lib/python3.10/site-packages/threadpoolctl.py:646, in _OpenBLASModule.get_version(self)
643 get_config = getattr(self._dynlib, "openblas_get_config",
644 lambda: None)
645 get_config.restype = ctypes.c_char_p
--> 646 config = get_config().split()
647 if config[0] == b"OpenBLAS":
648 return config[1].decode("utf-8")
AttributeError: 'NoneType' object has no attribute 'split'
If you use a search engine to find issues related to this error, you might find posts by others who have resolved this issue. Please consider sharing your solution here in this thread, if you find one.
Hi @slowkow, Thanks for the quick reply! I am using Jupyter Notebook on a Mac. Please let me know if you need certain package versions. I installed OpenBLAS and the error remains. I also searched around but found nothing that could solve the problem. Any suggestions are appreciated!
Thanks again, V
I found another related post:
Does the error go away if you do this?
pip install threadpoolctl
You can check what version you have installed with this (on my machine I have 3.2.0):
python -c 'import threadpoolctl as t; print(t.__version__)'
That worked! Thank you so much
Great, thanks for sharing that it works. I hope others will find this solution in the future.
My conclusion is that an outdated version of the threadpoolctl
Python package is the culprit of this issue.
Hi,
I am trying to run Harmonypy on an anndata object. It gave me the error below.
I tried the method in the closed issue. Didn't work for me. Any help is greatly appreciated!! Thanks.