GEIA icon indicating copy to clipboard operation
GEIA copied to clipboard

ImportError: dlopen: cannot load any more object with static TLS

Open gao1948083886 opened this issue 2 years ago • 1 comments

When I run the code, the error appears:

ImportError: dlopen: cannot load any more object with static TLS

It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget to build the package before using it: run python setup.py install or make in the source directory.

If you have used an installer, please check that it is suited for your Python version, your operating system and your platform.

So, what version of the library do you use to run your code? Can you give me a requirements.txt file? Thank you so much

gao1948083886 avatar Jan 07 '24 02:01 gao1948083886

Hi Gao, I think most dependencies work fine for the code. For my sklearn, my environment shows I am using:

scikit-learn 1.0.2

I reuse the environment and update a few packages and cannot remember the previous version. Maybe you can try to correctly install the package and see if it works?

teapotliid avatar Jan 12 '24 05:01 teapotliid