【问题标题】:How to make IPython run on the python version 3.9.1 instead of the older version 3.7? [duplicate]如何让 IPython 在 python 版本 3.9.1 而不是旧版本 3.7 上运行? [复制]
【发布时间】:2021-04-05 15:18:39
【问题描述】:

我最近安装了 IPython(7.19 版)。我安装了替换旧版本 3.7.1 的后记 python3.9.1。当我通过终端调用 IPython 时,我总是得到 IPython 正在 python 版本 3.7.1 上运行的指示。

如何让 IPython 在新版本 3.9.1 上运行?

【问题讨论】:

  • 我试过了。该帖子的主要答案并没有解决问题。
  • 这不是重复的。所提及的答案都没有解决问题。
  • 为后代添加此内容:如果其他人在 macOS 上使用自制软件,请不要使用 brew install ipython - 它倾向于猜测要使用的 python 版本,截至 2021 年 3 月默认为 3.8

标签: python ipython python-3.9


【解决方案1】:

请检查以下内容

python3.9 -m IPython notebook

py -3.9 -m IPython

【讨论】:

  • 我听从了你的建议。我收到错误消息,包括无效语法。
  • 你是从 CMD 运行的吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2022-12-01
  • 1970-01-01
  • 1970-01-01
  • 2021-03-30
  • 2013-03-04
  • 1970-01-01
相关资源
最近更新 更多