问题描述

在运行python代码时遇到如下问题:

ImportError: dlopen: cannot load any more object with static TLS
___________________________________________________________________________
Contents of /home/user/anaconda3/envs/tf13/lib/python3.6/site-packages/sklearn/__check_build:
setup.py                  __init__.py               _check_build.cpython-36m-x86_64-linux-gnu.so
__pycache__
___________________________________________________________________________
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. 

提示dlopen: cannot load any more object with static TLS错误,并说scikit-learn遇到问题。 

 

解决办法:

降级python 第三方库的版本即可,比如 把sklearn版本 降级为scikit-learn 0.20.3

 

相关文章:

  • 2022-02-06
  • 2021-07-02
  • 2022-12-23
  • 2021-07-18
  • 2021-05-26
  • 2022-12-23
  • 2021-09-29
  • 2021-08-17
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-05-29
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案