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.

Console keeps dying

See original GitHub issue

Haven’t seen something like this before; three consoles x’d out already, same error message. I still have the Spyder instance open, started another one to work with; if you have debug-info collection steps I could give it a go.

Traceback (most recent call last):
File "D:\Anaconda\envs\tf2_env\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\Anaconda\envs\tf2_env\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\Anaconda\envs\tf2_env\lib\site‑packages\spyder_kernels\console\__main__.py", line 11, in 
start.main()
File "D:\Anaconda\envs\tf2_env\lib\site‑packages\spyder_kernels\console\start.py", line 289, in main
import_spydercustomize()
File "D:\Anaconda\envs\tf2_env\lib\site‑packages\spyder_kernels\console\start.py", line 39, in import_spydercustomize
import spydercustomize
File "D:\Anaconda\envs\tf2_env\lib\site‑packages\spyder_kernels\customize\spydercustomize.py", line 22, in 
import logging
File "C:\Desktop\School\Deep Learning\DL_code\dev_tg\deeptrain\util\logging.py", line 10, in 
from .algorithms import deeplen, builtin_or_npscalar
ImportError: attempted relative import with no known parent package

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
impact27commented, Jul 7, 2020

Try setting the working directory to C:\Desktop\School\Deep Learning\DL_code\dev_tg\deeptrain\util\ and then launch a new console. Does that replicate the issue?

1reaction
OverLordGoldDragoncommented, Jul 5, 2020

@ccordoba12 I’ll try next time it happens again, but had to restart PC so the offending session’s gone. So long as it’s as rare as the decoding popup, not a bother.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Battery Charge Does Not Last Very Long - Nintendo
Important: As with most lithium-ion batteries, the console battery life will gradually decrease over time. After about 800 charge cycles, the console battery ......
Read more >
Troubleshoot Xbox console unexpectedly turning off
If your Xbox console is unexpectedly shutting down, it may be because it's not getting enough ventilation, or there may be a problem...
Read more >
Nintendo Shares Advice For Those Suffering Switch Battery ...
Go to 'System Settings', 'Sleep Mode' and set 'Auto-Sleep (Playing on Console Screen)' to 'Never '. Have the Switch undocked in portable mode, ......
Read more >
10 Ways to Prolong the Lifespan of Your Gaming Console
One of the most important ways to avoid console death is to keep your console from overheating. 1- Keep Your Console Clean. Grab...
Read more >
How To Fix Nintendo Switch Fast Battery Drain Issue
To do that, you'll need to drain the battery to 0%, use the console normally until the battery is drained to 0 again....
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