【问题标题】:cannot import name 'get_ipython' from 'IPython'无法从“IPython”导入名称“get_ipython”
【发布时间】:2022-07-23 09:09:44
【问题描述】:

我使用 macOS 和 python3.7

我试着跑了

from IPython import get_ipython

看到了

ImportError: cannot import name 'get_ipython' from 'IPython' (unknown location)

任何人都可以分享一个线索/假设吗?

pip install ipython

表明我已经有了 ipython

【问题讨论】:

    标签: ipython


    【解决方案1】:
    pip3 install --upgrade ipython
    

    解决了我的问题

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-02-27
      • 2020-09-22
      相关资源
      最近更新 更多