Skip to main content

troubleshoot

Display environment information for troubleshooting Datalayer or IPython installations.

def subs(cmd: Union[List[str], str]) -> Optional[str]

Get data from commands that we need to run outside of python.

Parameters

  • cmd : Union[List[str], str]

    The command to execute.

Returns

  • Optional[str]

    The command output as a string, or None if execution fails.

def get_data() -> Dict[str, Any]

Return a dict of various user environment data.

Returns

  • Dict[str, Any]

    Dictionary containing environment information.

def main() -> None

Print out useful info.