'PyDevTerminalInteractiveShell' object has no attribute 'has_readline'

前端 未结 4 723
庸人自扰
庸人自扰 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:38

    The way I managed to solve this problem without downgrading iPython was:

    1 - Download the following patch:

    https://youtrack.jetbrains.com/_persistent/pycharm_ipython5_fix.patch?file=74-327779&c=true

    2 - Inside PyCharm, create a new project located on:

    /helpers/pydev/_pydev_bundle/
    

    Pycharm will prompt you to import the files on that folder, accept.

    3 - Click on VCS and choose Apply Patch

    4 - Choose the file you've downloaded on step 1.

    5 - The Apply Patch window will open, click OK

    6 - Restart PyCharm

    The Python Console should be now working inside PyCharm


    PS: You can delete the project folder (.idea) you've created on Step 2

提交回复
热议问题