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

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

Open
gao1948083886 opened this issue Jan 7, 2024 · 1 comment

Comments

@gao1948083886
Copy link

gao1948083886 commented Jan 7, 2024

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

@teapotliid
Copy link
Collaborator

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?

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