问题描述
ImportError: dlopen: cannot load any more object with static TLS
___________________________________________________________________________
Contents of /usr/local/lib/python3.6/site-packages/sklearn/__check_build:
_check_build.cpython-36m-x86_64-linux-gnu.so__pycache__ __init__.py
setup.py
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.
解决方案
看到这个问题,LZ也是百度尝试了很久,发现并没有解决实际问题,最后把scikit-learn版本降下来,问题就解决了,一路从0.24.2降到0.20.4
'scikit-learn<0.21.0'
PS:最近公司离职的小伙伴好多,希望小伙伴们都前程似锦,万一可以来个内推呢,哈哈哈哈,扯远了。