a
    ‡ù»j  ã                
   @   st  d Z dd„ Zeƒ  [ddlZddlmZ zddlmZ	 W n2 e
yj Z zdZe
eƒe‚W Y dZ[n
dZ[0 0 ddlmZ d	d
lmZ [ddlmZ dZdZe e¡e e¡k sÂe e¡e e¡krîddlZejde› de› de› d�edd� [zddlmZ W n4 e
�y4 Z zdZe
eƒe‚W Y dZ[n
dZ[0 0 ddlmZ eeƒZ[g d¢Z e g d¢ Z!dd„ Z"dd„ Z#dS )a„  
SciPy: A scientific computing package for Python
================================================

Documentation is available in the docstrings and
online at https://docs.scipy.org.

Subpackages
-----------
Using any of these subpackages requires an explicit import. For example,
``import scipy.cluster``.

::

 cluster                      --- Vector Quantization / Kmeans
 constants                    --- Physical and mathematical constants and units
 datasets                     --- Dataset methods
 fft                          --- Discrete Fourier transforms
 fftpack                      --- Legacy discrete Fourier transforms
 integrate                    --- Integration routines
 interpolate                  --- Interpolation Tools
 io                           --- Data input and output
 linalg                       --- Linear algebra routines
 misc                         --- Utilities that don't have another home.
 ndimage                      --- N-D image package
 odr                          --- Orthogonal Distance Regression
 optimize                     --- Optimization Tools
 signal                       --- Signal Processing Tools
 sparse                       --- Sparse Matrices
 spatial                      --- Spatial data structures and algorithms
 special                      --- Special functions
 stats                        --- Statistical Functions

Public API in the main SciPy namespace
--------------------------------------
::

 __version__       --- SciPy version string
 LowLevelCallable  --- Low-level callback function
 show_config       --- Show scipy build configuration
 test              --- Run scipy unittests

c               	   C   sp  dd l } dd l}dd l}dd l}|j |j |j t¡|j	d¡¡}| 
¡ dkobt| jdƒpbd|jv }|jd d… dkrz|rŒ|jd d… dkr¤|j |¡r¢| |¡ nÈ|j |d	¡}|j |¡�rlt|j |d	¡ƒ�}| ¡  ¡ }W d   ƒ n1 sô0    Y  |D ]h}	|j |j ||	¡¡}
| jd
dd�}|j |
¡�r| |  |
¡d d¡�std |	|  |  ¡ ¡¡ƒ‚�qd S )Né    z
scipy.libsÚCPythonZAnaconda_GetVersionzpackaged by conda-forgeé   )é   é   )r   é
   z.load-order-scipy-1.13.1Úkernel32T)Úuse_last_errorr   zError loading {}; {})ÚctypesÚosÚplatformÚsysÚpathÚabspathÚjoinÚdirnameÚ__file__ÚpardirÚpython_implementationÚhasattrÚ	pythonapiÚversionÚversion_infoÚisdirÚadd_dll_directoryÚisfileÚopenÚreadÚsplitÚWinDLLZLoadLibraryExWÚ	c_wchar_pÚOSErrorÚformatÚFormatErrorÚget_last_error)r	   r
   r   r   Zlibs_dirZis_conda_cpythonZload_order_filepathÚfileZ
load_orderÚlibZlib_pathr   © r&   ú4E:\soccer\ml_env\Lib\site-packages\scipy/__init__.pyÚ_delvewheel_patch_1_6_0/   s$    ""(*$r(   r   N)Ú__version__)Úshowz«Error importing SciPy: you cannot import SciPy while
    being in scipy source directory; please exit the SciPy source
    tree first and relaunch your Python interpreter.)r   é   )Ú_distributor_init)Ú_pep440z1.22.4z2.3.0zA NumPy version >=z and <z9 is required for this version of SciPy (detected version ú)r   )Ú
stacklevel)ÚLowLevelCallablezvThe `scipy` install you are using seems to be broken, (extension modules cannot be imported), please try reinstalling.)ÚPytestTester)ZclusterÚ	constantsZdatasetsZfftZfftpackZ	integrateZinterpolateÚioZlinalgÚmiscZndimageZodrÚoptimizeÚsignalÚsparseZspatialZspecialÚstats)r0   ÚtestÚshow_configr)   c                   C   s   t S )N)Ú__all__r&   r&   r&   r'   Ú__dir__œ   s    r<   c                 C   sL   | t v rt d| › �¡S ztƒ |  W S  tyF   td| › d�ƒ‚Y n0 d S )Nzscipy.z!Module 'scipy' has no attribute 'ú')Ú
submodulesÚ
_importlibÚimport_moduleÚglobalsÚKeyErrorÚAttributeError)Únamer&   r&   r'   Ú__getattr__    s    
ÿrE   )$Ú__doc__r(   Ú	importlibr?   Únumpyr)   Z__numpy_version__Zscipy.__config__r*   r:   ÚImportErrorÚeÚmsgZscipy.versionr   Ú r,   Z
scipy._libr-   Znp_minversionZnp_maxversionÚparseÚVersionÚwarningsÚwarnÚUserWarningZscipy._lib._ccallbackr0   Zscipy._lib._testutilsr1   Ú__name__r9   r>   r;   r<   rE   r&   r&   r&   r'   Ú<module>   sL   . ÿþý 