【问题标题】:Tensorflow install--python can import but ipython cannotTensorFlow install--python 可以导入,但 ipython 不能
【发布时间】:2017-08-25 01:22:45
【问题描述】:

我刚刚通过 Anaconda3 为 Ubuntu 16.04 安装了 tensorflow。我可以用 python 运行测试 tensorflow 脚本并且没有问题。但是当我用 ipython 运行它时,它找不到模块。如何链接 ipython 以读取与 python 相同的库?

【问题讨论】:

    标签: python ubuntu tensorflow ipython anaconda


    【解决方案1】:

    你注意到你的 anaconda 环境了吗?您是否在与安装 tensorflow 相同的环境中启动了 ipython?

    【讨论】:

    • 是的,我做到了。我再次在 env 中进行了 pip install ipython,现在它可以工作了!
    猜你喜欢
    • 2017-05-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-11-17
    • 1970-01-01
    • 2014-02-13
    • 2018-01-23
    • 2011-07-16
    相关资源
    最近更新 更多