升级到IPython13后获取AttributeError

升级到IPython13后获取AttributeError,python,ipython,Python,Ipython,我用pip升级了我的IPython安装,当我使用IPython时,失败如下: Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'Shell' 但当我尝试$ipython时,它会正常启动 属性错误的原因可能是什么?在~/.ipython下查找。那里可能有一个使用旧API的配置脚

我用pip升级了我的IPython安装,当我使用IPython时,失败如下:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Shell'
但当我尝试$ipython时,它会正常启动


属性错误的原因可能是什么?

在~/.ipython下查找。那里可能有一个使用旧API的配置脚本。

结果是.bashrc中的一个别名覆盖了$PATH中的ipython,它被设置为ipython的旧版本