Open specked2527 opened 4 months ago
debug
> python -m danmaku_tools.danmaku_energy_map 6.xml --graph 6.png
C:\Users\NAS\AppData\Local\Programs\Python\Python38\python.exe: Error while finding module specification for 'danmaku_tools.danmaku_energy_map' (ModuleNotFoundError: __path__ attribute not found on 'danmaku_tools' while trying to find 'danmaku_tools.danmaku_energy_map')
python -m pdb -m danmaku_tools.danmaku_energy_map 6.xml --graph 6.png
Traceback (most recent call last): File "C:\Users\NAS\AppData\Local\Programs\Python\Python38\lib\pdb.py", line 1701, in main pdb._runmodule(mainpyfile) File "C:\Users\NAS\AppData\Local\Programs\Python\Python38\lib\pdb.py", line 1534, in _runmodule mod_name, mod_spec, code = runpy._get_module_details(module_name) File "C:\Users\NAS\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 135, in _get_module_details raise error(msg.format(mod_name, type(ex).__name__, ex)) from ex ImportError: Error while finding module specification for 'danmaku_tools.danmaku_energy_map' (ModuleNotFoundError: __path__ attribute not found on 'danmaku_tools' while trying to find 'danmaku_tools.danmaku_energy_map') Uncaught exception. Entering post mortem debugging Running 'cont' or 'step' will restart the program
6.zip