We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executing python file as python script.py works fine. But if I try to do python ./script.py it gives the following error
python script.py
python ./script.py
Error in sys.excepthook: Traceback (most recent call last): File "C:\Users\M1\anaconda3\envs\myenv\lib\site-packages\pretty_traceback\hook.py", line 23, in excepthook tb_str = formatting.exc_to_traceback_str(exc_value, traceback, color) File "C:\Users\M1\anaconda3\envs\myenv\lib\site-packages\pretty_traceback\formatting.py", line 281, in exc_to_traceback_str return format_tracebacks(tracebacks, color) File "C:\Users\M1\anaconda3\envs\myenv\lib\site-packages\pretty_traceback\formatting.py", line 255, in format_tracebacks traceback_str = format_traceback(tb_tup, color) File "C:\Users\M1\anaconda3\envs\myenv\lib\site-packages\pretty_traceback\formatting.py", line 244, in format_traceback ctx = _init_entries_context(traceback.entries) File "C:\Users\M1\anaconda3\envs\myenv\lib\site-packages\pretty_traceback\formatting.py", line 156, in _init_entries_context rows = list(_iter_entry_rows(aliases, entry_paths, entries)) File "C:\Users\M1\anaconda3\envs\myenv\lib\site-packages\pretty_traceback\formatting.py", line 135, in _iter_entry_rows assert module.endswith(_module) AssertionError
The text was updated successfully, but these errors were encountered:
Will check, thanks for the report.
Sorry, something went wrong.
fix github #1
ccb88c8
Fixed with 2020.1011
No branches or pull requests
Executing python file as
python script.py
works fine. But if I try to dopython ./script.py
it gives the following errorThe text was updated successfully, but these errors were encountered: