zoukankan      html  css  js  c++  java
  • 调用sklearn遇到dlopen: cannot load any more object with static TLS问题解决

    问题描述

    在运行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

  • 相关阅读:
    shell:bash基本特性
    python_day02
    python_day01
    centos环境下安装python3以及pip3
    http1到http3的巨大变化
    HTTP协议
    bootstrap
    JQuery
    BOM与DOM
    23种设计模式的几种常见的设计模式
  • 原文地址:https://www.cnblogs.com/huadongw/p/14584232.html
Copyright © 2011-2022 走看看