美文网首页
termux + python + scikit-learn

termux + python + scikit-learn

作者: 紫菜包饭哟嘻 | 来源:发表于2019-08-22 12:58 被阅读0次

    问题:
    按照 官方安装文档 文档安装完 numpy 和 scipy, pip 安装 pandas, scikit-learn最新版(0.21.3) 后。导入 scikit-learn 报错如下:

    This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.

    原因是 android 版 python (或者是android?) 信号量相关操作没实现 .

    workaround:
    回退到 0.19.2 版本

    $ pip install scikit-learn==0.19.2
    

    相关文章

      网友评论

          本文标题:termux + python + scikit-learn

          本文链接:https://www.haomeiwen.com/subject/wiknsctx.html