【问题标题】:Installing TensorFlow in a Virtualenv on openSUSE在 openSUSE 上的 Virtualenv 中安装 TensorFlow
【发布时间】:2017-08-16 11:15:13
【问题描述】:

我尝试在 openSUSE12.1 中安装 TensorFlow。我使用了 virtualenv。

我认为 TensorFlow 已安装。但是当我输入时:

import tensorflow as tf

这个错误信息出来了:

ld.so 检测到不一致:dl-open.c: 596: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' 失败!

【问题讨论】:

  • 您在 virtualenv 中使用哪个版本的 Python?

标签: python linux tensorflow opensuse


【解决方案1】:

openSUSE12.1 长期停产。您安装的 TensorFlow 版本与您系统上找不到的共享库版本相关联(我猜它需要比您拥有的版本更新的版本)。

您应该考虑将您的系统升级到受支持的产品,最新的单点发布版本是“Leap 42.3”[1]。这将解决您的 TensorFlow 库问题,并解决您的系统目前存在的许多安全问题。

[1] - https://software.opensuse.org/distributions/leap

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-12-23
    • 1970-01-01
    • 1970-01-01
    • 2021-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多