File size: 533 Bytes
82ea528 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import logging
import os
logger = logging.getLogger(__name__)
try:
from .nodes import NODE_CLASS_MAPPINGS
__all__ = ['NODE_CLASS_MAPPINGS']
except ImportError as e:
missing_module = str(e).split(" ")[-1].replace("'", "")
logger.error(f"ERROR: Could not import required library '{missing_module}'. Ensure the required packages are installed by running: pip install -r {os.path.join(os.path.dirname(os.path.abspath(__file__)), 'requirements.txt')}")
NODE_CLASS_MAPPINGS = {}
__all__ = ['NODE_CLASS_MAPPINGS'] |