A} N d dl Z d dlZd dlZd Zd Zedk r e dS dS ) Nc p t d| z t j | t d d S )NzRunning %r:------)printossystem)cmds g/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/f2py/diagnose.pyrun_commandr s1 -3 IcNNN (OOOOO c t j } t j t j t d t dt j z t d t dt j z t d t d t t j t d t d t t j t d t dd t j z t d dd l }d }n)# t $ r}t d | d}Y d }~nd }~ww xY w ddlm} d }n)# t $ r}t d| d}Y d }~nd }~ww xY w dd l}d }nA# t $ r4 dd l}d }n)# t $ r}t d| d}Y d }~nd }~ww xY wY nw xY w|rW t d|j d|j n6# t* $ r)}t d| t d Y d }~nd }~ww xY w|r\ t d|j j d|j n6# t* $ r)}t d| t d Y d }~nd }~ww xY w|r |d k r*t d|j j d|j j n$t d|j j d|j t d n6# t* $ r)}t d| t d Y d }~nd }~ww xY w |d k rt dd dd lmc m} t d t d t d | j D ]/} | d t d 0n6# t* $ r)}t d| t d Y d }~nd }~ww xY wn7# t* $ r*}t d|d t d Y d }~nd }~ww xY w |d k rt dd dd lmc m} nt dd dd lm} t d t d t d | t d n6# t* $ r)}t d| t d Y d }~nd }~ww xY wn6# t* $ r)}t d| t d Y d }~nd }~ww xY w |d k r6t dd ddl!m"} t d t d n t d d ddl#m"} t d t d n]# t* $ rP}t d|d! t d"d ddl$m"} t d t d Y d }~nd }~ww xY w | } t d#d tK | D ]S}|d d$k rE|d d$k r9 tM | |d d rt |d d d Tt d n6# t* $ r)}t d| t d Y d }~nd }~ww xY wt j | d S )%Nr z os.name=%rzsys.platform=%rzsys.version:zsys.prefix:zsys.path=%r:r zFailed to import new numpy:)f2py2ezFailed to import f2py2e: z!Failed to import numpy_distutils:zFound new numpy version z in zerror:zFound f2py2e version zFound numpy.distutils version zFound numpy_distutils version z0Importing numpy_distutils.command.build_flib ... )endokz5Checking availability of supported Fortran compilers:)verbosezD(ignore it, build_flib is obsolute for numpy.distutils 0.2.2 and up)z'Importing numpy.distutils.fcompiler ...z'Importing numpy_distutils.fcompiler ...z%Importing numpy.distutils.cpuinfo ...)cpuinfoz-Importing numpy_distutils.command.cpuinfo ...z(ignore it)z%Importing numpy_distutils.cpuinfo ...zCPU information:_)'r getcwdchdirtempfile gettempdirr namesysplatformversionprefixjoinpathnumpyImportError numpy.f2pyr numpy.distutilsnumpy_distutils__version____file__ Exception distutilsnumpy_distutils_version"numpy_distutils.command.build_flibcommand build_flib all_compilersis_availablenumpy.distutils.fcompiler fcompilernumpy_distutils.fcompilershow_fcompilersnumpy.distutils.cpuinfor numpy_distutils.command.cpuinfonumpy_distutils.cpuinfodirgetattr)_pathr" has_newnumpyer has_f2py2ehas_numpy_distutilsr&