Qix-/better-exceptions

Don't work on termux

Closed this issue · 3 comments

Python version: 3.7.2
better_exceptions: 0.2.2

>>> import g
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'g'
>>> import better_exceptions; better_exceptions.hook()
WARNING: better_exceptions will only inspect code from the command line
         when using: `python -m better_exceptions'. Otherwise, only code
         loaded from files will be inspected!
>>> import g
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'g'
>>>
Qix- commented

The prompt tells you exactly why it's not working...

Yes, but the exception is not better 😁.

Qix- commented

I can't help you any further from what the terminal tells you...