prompt-toolkit / ptpython

A better Python REPL
BSD 3-Clause "New" or "Revised" License
5.2k stars 277 forks source link

in windows platform,if installed ptpython ,ipython not usable #291

Open ljm9104 opened 5 years ago

ljm9104 commented 5 years ago

λ ipython Traceback (most recent call last): File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\python36\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Python36\Scripts\ipython.exe__main.py", line 5, in File "c:\python36\lib\site-packages\IPython\init__.py", line 55, in from .terminal.embed import embed File "c:\python36\lib\site-packages\IPython\terminal\embed.py", line 16, in from IPython.terminal.interactiveshell import TerminalInteractiveShell File "c:\python36\lib\site-packages\IPython\terminal\interactiveshell.py", line 22, in from prompt_toolkit.shortcuts import create_prompt_application, create_eventloop, create_prompt_layout, create_output ImportError: cannot import name 'create_prompt_application'

jonathanslenders commented 5 years ago

Hi @ljm9104,

Can you tell me which IPython version you are using? Normally, the latest version should be compatible.

ljm9104 commented 5 years ago

I use the Ipython 6.5.0 on windows platform