| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/numpy/f2py/__pycache__/ |
Upload File : |
�
���cn � �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:�------)�print�os�system)�cmds �5/usr/lib/python3/dist-packages/numpy/f2py/diagnose.py�run_commandr
s1 � � �-�3�
� � � ��I�c�N�N�N� �(�O�O�O�O�O� 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 }n9# t $ r, t d
t j � � d � � d}Y nw xY w ddlm} d }n9# t $ r, t dt j � � d � � d}Y nw xY w dd l}d
}nQ# t $ rD dd l}d }n9# t $ r, t dt j � � d � � d}Y nw 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 r�t 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 l m}
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�� � tM |� � D ]S}
|
d d$k rE|
d d$k r9 tO ||
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 ...� )�end�okz5Checking 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 �getcwd�chdir�tempfile�
gettempdirr �name�sys�platform�version�prefix�join�path�numpy�ImportError�exc_info�
numpy.f2pyr �numpy.distutils�numpy_distutils�__version__�__file__� Exception� distutils�numpy_distutils_version�"numpy_distutils.command.build_flib�command�
build_flib�
all_compilers�is_available�numpy.distutils.fcompiler� fcompiler�numpy_distutils.fcompiler�show_fcompilers�numpy.distutils.cpuinfor �numpy_distutils.command.cpuinfo�numpy_distutils.cpuinfo�dir�getattr)�_pathr"