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

Closed
LalitPradhan opened this issue Sep 27, 2017 · 1 comment
Closed

Comments

@LalitPradhan
Copy link

I get the following error. I'm using python 2.7, CUDA 7.5

Traceback (most recent call last):
File "", line 1, in
File "build/bdist.linux-x86_64/egg/face_alignment/init.py", line 7, in
File "build/bdist.linux-x86_64/egg/face_alignment/api.py", line 5, in
File "/usr/local/lib/python2.7/dist-packages/torch/init.py", line 53, in
from torch._C import *
ImportError: dlopen: cannot load any more object with static TLS

@1adrianb
Copy link
Owner

1adrianb commented Sep 27, 2017

Hi @LalitPradhan,

This is, unfortunately, a known issue when importing multiple libraries (see for example pytorch/pytorch#2083). You can either try to shuffle the order of the packages you are importing or remove the ones that are not needed.

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