ipython: Traceback error with Python 3.6

Below is a full error text. Happens for any error since I upgraded to Python 3.6 (occurs even on clean install).

Traceback (most recent call last):
  File "D:\Python3.6.1\lib\site-packages\IPython\core\interactiveshell.py", line 2862, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-4-e6cc46dee2ed>", line 1, in <module>
    prin
NameError: name 'prin' is not defined
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "D:\Python3.6.1\lib\site-packages\IPython\core\interactiveshell.py", line 2808, in run_ast_nodes
    if self.run_code(code, result):
  File "D:\Python3.6.1\lib\site-packages\IPython\core\interactiveshell.py", line 2879, in run_code
    self.showtraceback(running_compiled_code=True)
TypeError: showtraceback() got an unexpected keyword argument 'running_compiled_code'

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 32 (11 by maintainers)

Most upvoted comments

As a note, the latest PyDev release should have this fixed (and pydevd in pypi was also updated to have this fix).

@Scharlotten are you running Ipython through PyCharm or another IDE? In my case upgrading PyCharm fixed the issue.