'PyDevTerminalInteractiveShell' object has no attribute 'has_readline'

前端 未结 4 711
庸人自扰
庸人自扰 2021-02-06 22:30

I am using Pycharm 2016.1 on CentOS7 and I am testing "Show command line afterwards" and I got this Probl

4条回答
  •  醉梦人生
    2021-02-06 22:37

    This PyCharm issue occurs because of changes the the iPython api with iPython version 5. Until Jetbrains fix this, reverting to an earlier version of iPython (version 4) will correct this. As @chenfei has discovered, this can be done through pip:

    $ pip uninstall ipython
    $ pip install ipython==4.2.0
    

    Edit

    And if you can't wait that long, Jetbrains have released a patch

    https://youtrack.jetbrains.com/issue/PY-20013#comment=27-1512407

    Final Edit

    This issue has been fixed in PyCharm 2016.2

提交回复
热议问题