question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Traceback error with Python 3.6

See original GitHub issue

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'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:32 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
fabiozcommented, May 8, 2018

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

1reaction
mcdallascommented, May 8, 2018

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Print or retrieve a stack traceback
This is useful when you want to print stack traces under program control, such as in a “wrapper” around the interpreter. The module...
Read more >
3.6 traceback -- Print or retrieve a stack ...
This module provides a standard interface to extract, format and print stack traces of Python programs. It exactly mimics the behavior of the...
Read more >
5. Built-in Exceptions — Python 3.6.3 documentation
In Python, all exceptions must be instances of a class that derives from ... This method sets tb as the new traceback for...
Read more >
ModuleNotFoundError in tracebacks with Python3.6 on linux
I solved this issue for Python 3.6 by first installing the python-apt package for Python 3: sudo apt install python3-apt.
Read more >
Traceback errors installing Python 3.6.1 on Redhat
The issue was that zlib and zlib-devel were not installed prior to install. I also needed to make sure that openssl and openssl-devel...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found