Download scripts/debug/debug_imports.py from Granis87/MnemoCore: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/Granis87/MnemoCore/resolve/main/scripts/debug/debug_imports.py
- Command line
-
hf download hf://Granis87/MnemoCore/scripts/debug/debug_imports.py
-
curl -L -o debug_imports.py https://huggingface.co/Granis87/MnemoCore/resolve/main/scripts/debug/debug_imports.py
572 Bytes
| import importlib | |
| import sys | |
| from pathlib import Path | |
| src_path = Path("src").absolute() | |
| sys.path.insert(0, str(src_path)) | |
| modules = [ | |
| "core.config", | |
| "core.hdv", | |
| "core.binary_hdv", | |
| "core.node", | |
| "core.synapse", | |
| "core.qdrant_store", | |
| "core.async_storage", | |
| "core.tier_manager", | |
| "core.engine", | |
| "core.router", | |
| ] | |
| for mod in modules: | |
| print(f"Importing {mod}...", end="", flush=True) | |
| try: | |
| importlib.import_module(mod) | |
| print(" OK") | |
| except Exception as e: | |
| print(f" FAILED: {e}") | |