Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
ImportError: dlopen: cannot load any more object with static TLS #3
Hi, I got the following error when i import shorttext, how shall i resolve?
Using TensorFlow backend.
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so.7.5 locally
I changed my backend between Tensorflow and Theano, and I do not have the problem that you posted. I am using Python 2.7. I am running on macOS Sierra.
I googled online that it looks like previous version of tensorflow would give rise to this problem. Mine is pretty new (not sure if it is the newest). I am not sure if that could be the case.
It looks like it is not a bug, but a configuration error regarding the numerical libraries. spaCy makes use of CV2, which causes this problem.
The Github of Tensorflow talked about this problem: tensorflow/models#523
The way to do it is to reload the library, or reinstall Tensorflow etc. To work around, load opencv2, or spaCy first before loading the library.