a
    dD                     @   s$   d Z ddlZddlmZ dd ZdS )zv This file is the part of 'gradio/cli.py' for printing the environment info 
for the cli command 'gradio environment'
    N)metadatac               
   C   sR  t d t dt  dD ]F} zt| }t |  d| W q tjy^   t |  d Y q0 qt d dD ]} zt| }t |  d |jd ur$|jD ]|}|dd	 d
d	 dd	 dd	 dd	 }zt | dt|  W q tjy   t | d Y q0 qt d W qn tjyJ   t |  d Y qn0 qnd S )Nz>Gradio Environment Information:
------------------------------zOperating System:)ZgradioZgradio_clientz	 version:z package is not installed.z1
------------------------------------------------z# dependencies in your environment:
>r   <~[!z: z is not installed.
)	printplatformsystemr   versionZPackageNotFoundErrordistributionrequiressplit)package_nameZpackage_versiondistreqZreq_base_name r   \/var/www/html/stable-diffusion-webui/venv/lib/python3.9/site-packages/gradio/cli_env_info.pyprint_environment_info   sP    


r   )__doc__r
   	importlibr   r   r   r   r   r   <module>   s   