-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Description
Can you please help me with this. ptipython is not working with ipython 5.0.0
(py2_kernel)~/py2_kernel ❯❯❯ ptipython
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/Users/Vikash/py2_kernel/bin/ptipython in <module>()
9 if __name__ == '__main__':
10 sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
---> 11 sys.exit(run())
/Users/Vikash/py2_kernel/lib/python2.7/site-packages/ptpython/entry_points/run_ptipython.pyc in run()
89 configure=configure,
90 user_ns=user_ns,
---> 91 title='IPython REPL (ptipython)')
92
93
/Users/Vikash/py2_kernel/lib/python2.7/site-packages/ptpython/ipython.pyc in embed(**kwargs)
252 config.InteractiveShellEmbed = config.TerminalInteractiveShell
253 kwargs['config'] = config
--> 254 shell = InteractiveShellEmbed.instance(**kwargs)
255 initialize_extensions(shell, config['InteractiveShellApp']['extensions'])
256 shell(header=header, stack_depth=2, compile_flags=compile_flags)
/Users/Vikash/py2_kernel/lib/python2.7/site-packages/traitlets/config/configurable.pyc in instance(cls, *args, **kwargs)
410 # Create and save the instance
411 if cls._instance is None:
--> 412 inst = cls(*args, **kwargs)
413 # Now make sure that the instance will also be returned by
414 # parent classes' _instance attribute.
/Users/Vikash/py2_kernel/lib/python2.7/site-packages/ptpython/ipython.pyc in __init__(self, *a, **kw)
194 self,
195 get_globals=get_globals, vi_mode=vi_mode,
--> 196 history_filename=history_filename)
197
198 if title:
/Users/Vikash/py2_kernel/lib/python2.7/site-packages/ptpython/ipython.pyc in __init__(self, ipython_shell, *a, **kw)
168 self.ipython_shell = ipython_shell
169
--> 170 self.all_prompt_styles['ipython'] = IPythonPrompt(ipython_shell.prompt_manager)
171 self.prompt_style = 'ipython'
172
AttributeError: 'InteractiveShellEmbed' object has no attribute 'prompt_manager'
Metadata
Metadata
Assignees
Labels
No labels