Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何修复Pip3安装sciket学习错误_Python_Linux_Scikit Learn_Scipy_Pip - Fatal编程技术网

Python 如何修复Pip3安装sciket学习错误

Python 如何修复Pip3安装sciket学习错误,python,linux,scikit-learn,scipy,pip,Python,Linux,Scikit Learn,Scipy,Pip,我正在尝试在linux中安装sklearn库 pip3 install -v --no-binary :all: --user scikit-learn 但是得到这个错误 The package https://files.pythonhosted.org/packages/99/f1/c00d6be56e1a718a3068079e3ec8ce044d7179345280f6a3f5066068af0d/scipy-1.6.2.tar.gz#sha256=e9da33e21c9bc1b92c

我正在尝试在linux中安装sklearn库

pip3 install -v --no-binary :all: --user scikit-learn
但是得到这个错误

The package https://files.pythonhosted.org/packages/99/f1/c00d6be56e1a718a3068079e3ec8ce044d7179345280f6a3f5066068af0d/scipy-1.6.2.tar.gz#sha256=e9da33e21c9bc1b92c20b5328adb13e5f193b924c9b969cd700c8908f315aa59 (from https://pypi.org/simple/scipy/) (requires-python:>=3.7,<3.10) is incompatible with the pythonversion in use. Acceptable python versions are:>=3.7,<3.10
  Using version 1.5.4 (newest of versions: 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4)
  Looking up "https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz" in the cache
  Current age based on date: 7486
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 7486
  Using cached https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b (from https://pypi.org/simple/scipy/) (requires-python:>=3.6)
  Running setup.py (path:/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py) egg_info for package scipy
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/scipy.egg-info
    writing pip-egg-info/scipy.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/scipy.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/scipy.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*_subr_*.f' found under directory 'scipy/linalg/src/id_dist/src'
    no previously-included directories found matching 'benchmarks/env'
    no previously-included directories found matching 'benchmarks/results'
    no previously-included directories found matching 'benchmarks/html'
    no previously-included directories found matching 'benchmarks/scipy'
    no previously-included directories found matching 'scipy/special/tests/data/boost'
    no previously-included directories found matching 'scipy/special/tests/data/gsl'
    no previously-included directories found matching 'scipy/special/tests/data/local'
    no previously-included directories found matching 'doc/build'
    no previously-included directories found matching 'doc/source/generated'
    no previously-included directories found matching '*/__pycache__'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*~' found anywhere in distribution
    warning: no previously-included files matching '*.bak' found anywhere in distribution
    warning: no previously-included files matching '*.swp' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files found matching 'LICENSES_bundled.txt'
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
  Source in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy has version 1.5.4, which satisfies requirement scipy>=0.19.1 from https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b (from scikit-learn)
Requirement already satisfied: joblib>=0.11 in ./.local/lib/python3.6/site-packages (from scikit-learn)
Requirement already satisfied: threadpoolctl>=2.0.0 in ./.local/lib/python3.6/site-packages (from scikit-learn)
Installing collected packages: scipy, scikit-learn
  Running setup.py install for scipy ...     Running command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-3a6lsxhd-record/install-record.txt --single-version-externally-managed --compile --user --prefix=

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)


    Running from SciPy source directory.
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries tatlas,tatlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries tatlas,tatlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries tatlas,tatlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries tatlas,tatlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries satlas,satlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries satlas,satlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries satlas,satlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries satlas,satlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries f77blas,cblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries f77blas,cblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries f77blas,cblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    accelerate_info:
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py", line 583, in <module>
        setup_package()
      File "/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py", line 579, in setup_package
        setup(**metadata)
      File "/home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/core.py", line 135, in setup
        config = configuration()
      File "/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py", line 477, in configuration
        raise NotFoundError(msg)
    numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
error
Cleaning up...
  Removing source in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scikit-learn
  Removing source in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-3a6lsxhd-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 365, in run
    strip_file_prefix=options.strip_file_prefix,
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 789, in install
    **kwargs
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 882, in install
    spinner=spinner,
  File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 717, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-3a6lsxhd-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/
    Skipping link https://files.pythonhosted.org/packages/cd/a3/84b9b6bd377509d01a20c8b0b6be7c8e62b00a211c07fe0c2bf24b6c5579/scipy-1.6.2-cp39-cp39-win_amd64.whl#sha256=d744657c27c128e357de2f0fd532c09c84cd6e4933e8232895a872e67059ac37 (from https://pypi.org/simple/scipy/) (requires-python:>=3.7,<3.10); No binaries permitted for scipy
    The package https://files.pythonhosted.org/packages/99/f1/c00d6be56e1a718a3068079e3ec8ce044d7179345280f6a3f5066068af0d/scipy-1.6.2.tar.gz#sha256=e9da33e21c9bc1b92c20b5328adb13e5f193b924c9b969cd700c8908f315aa59 (from https://pypi.org/simple/scipy/) (requires-python:>=3.7,<3.10) is incompatible with the pythonversion in use. Acceptable python versions are:>=3.7,<3.10
  Using version 1.5.4 (newest of versions: 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4)
  Looking up "https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz" in the cache
  Current age based on date: 7960
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 7960
  Using cached https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b (from https://pypi.org/simple/scipy/) (requires-python:>=3.6)
  Running setup.py (path:/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py) egg_info for package scipy
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/scipy.egg-info
    writing pip-egg-info/scipy.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/scipy.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/scipy.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*_subr_*.f' found under directory 'scipy/linalg/src/id_dist/src'
    no previously-included directories found matching 'benchmarks/env'
    no previously-included directories found matching 'benchmarks/results'
    no previously-included directories found matching 'benchmarks/html'
    no previously-included directories found matching 'benchmarks/scipy'
    no previously-included directories found matching 'scipy/special/tests/data/boost'
    no previously-included directories found matching 'scipy/special/tests/data/gsl'
    no previously-included directories found matching 'scipy/special/tests/data/local'
    no previously-included directories found matching 'doc/build'
    no previously-included directories found matching 'doc/source/generated'
    no previously-included directories found matching '*/__pycache__'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*~' found anywhere in distribution
    warning: no previously-included files matching '*.bak' found anywhere in distribution
    warning: no previously-included files matching '*.swp' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files found matching 'LICENSES_bundled.txt'
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
  Source in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy has version 1.5.4, which satisfies requirement scipy from https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b
Installing collected packages: scipy
  Running setup.py install for scipy ...     Running command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-xgk36ocr-record/install-record.txt --single-version-externally-managed --compile --user --prefix=

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)


    Running from SciPy source directory.
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries tatlas,tatlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries tatlas,tatlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries tatlas,tatlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries tatlas,tatlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries satlas,satlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries satlas,satlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries satlas,satlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries satlas,satlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries f77blas,cblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries f77blas,cblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries f77blas,cblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    accelerate_info:
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py", line 583, in <module>
        setup_package()
      File "/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py", line 579, in setup_package
        setup(**metadata)
      File "/home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/core.py", line 135, in setup
        config = configuration()
      File "/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py", line 477, in configuration
        raise NotFoundError(msg)
    numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
error
Cleaning up...
  Removing source in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-xgk36ocr-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 365, in run
    strip_file_prefix=options.strip_file_prefix,
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 789, in install
    **kwargs
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 882, in install
    spinner=spinner,
  File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 717, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-xgk36ocr-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/
但对sklearn来说,它不起作用

我试图安装scipy

还有这个错误

pip3 install -v --no-binary :all: --user scipy
并且给出了这个错误

The package https://files.pythonhosted.org/packages/99/f1/c00d6be56e1a718a3068079e3ec8ce044d7179345280f6a3f5066068af0d/scipy-1.6.2.tar.gz#sha256=e9da33e21c9bc1b92c20b5328adb13e5f193b924c9b969cd700c8908f315aa59 (from https://pypi.org/simple/scipy/) (requires-python:>=3.7,<3.10) is incompatible with the pythonversion in use. Acceptable python versions are:>=3.7,<3.10
  Using version 1.5.4 (newest of versions: 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4)
  Looking up "https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz" in the cache
  Current age based on date: 7486
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 7486
  Using cached https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b (from https://pypi.org/simple/scipy/) (requires-python:>=3.6)
  Running setup.py (path:/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py) egg_info for package scipy
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/scipy.egg-info
    writing pip-egg-info/scipy.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/scipy.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/scipy.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*_subr_*.f' found under directory 'scipy/linalg/src/id_dist/src'
    no previously-included directories found matching 'benchmarks/env'
    no previously-included directories found matching 'benchmarks/results'
    no previously-included directories found matching 'benchmarks/html'
    no previously-included directories found matching 'benchmarks/scipy'
    no previously-included directories found matching 'scipy/special/tests/data/boost'
    no previously-included directories found matching 'scipy/special/tests/data/gsl'
    no previously-included directories found matching 'scipy/special/tests/data/local'
    no previously-included directories found matching 'doc/build'
    no previously-included directories found matching 'doc/source/generated'
    no previously-included directories found matching '*/__pycache__'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*~' found anywhere in distribution
    warning: no previously-included files matching '*.bak' found anywhere in distribution
    warning: no previously-included files matching '*.swp' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files found matching 'LICENSES_bundled.txt'
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
  Source in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy has version 1.5.4, which satisfies requirement scipy>=0.19.1 from https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b (from scikit-learn)
Requirement already satisfied: joblib>=0.11 in ./.local/lib/python3.6/site-packages (from scikit-learn)
Requirement already satisfied: threadpoolctl>=2.0.0 in ./.local/lib/python3.6/site-packages (from scikit-learn)
Installing collected packages: scipy, scikit-learn
  Running setup.py install for scipy ...     Running command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-3a6lsxhd-record/install-record.txt --single-version-externally-managed --compile --user --prefix=

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)


    Running from SciPy source directory.
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries tatlas,tatlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries tatlas,tatlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries tatlas,tatlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries tatlas,tatlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries satlas,satlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries satlas,satlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries satlas,satlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries satlas,satlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries f77blas,cblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries f77blas,cblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries f77blas,cblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    accelerate_info:
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py", line 583, in <module>
        setup_package()
      File "/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py", line 579, in setup_package
        setup(**metadata)
      File "/home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/core.py", line 135, in setup
        config = configuration()
      File "/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py", line 477, in configuration
        raise NotFoundError(msg)
    numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
error
Cleaning up...
  Removing source in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scikit-learn
  Removing source in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-3a6lsxhd-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 365, in run
    strip_file_prefix=options.strip_file_prefix,
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 789, in install
    **kwargs
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 882, in install
    spinner=spinner,
  File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 717, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-3a6lsxhd-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-2h42lnjq/scipy/
    Skipping link https://files.pythonhosted.org/packages/cd/a3/84b9b6bd377509d01a20c8b0b6be7c8e62b00a211c07fe0c2bf24b6c5579/scipy-1.6.2-cp39-cp39-win_amd64.whl#sha256=d744657c27c128e357de2f0fd532c09c84cd6e4933e8232895a872e67059ac37 (from https://pypi.org/simple/scipy/) (requires-python:>=3.7,<3.10); No binaries permitted for scipy
    The package https://files.pythonhosted.org/packages/99/f1/c00d6be56e1a718a3068079e3ec8ce044d7179345280f6a3f5066068af0d/scipy-1.6.2.tar.gz#sha256=e9da33e21c9bc1b92c20b5328adb13e5f193b924c9b969cd700c8908f315aa59 (from https://pypi.org/simple/scipy/) (requires-python:>=3.7,<3.10) is incompatible with the pythonversion in use. Acceptable python versions are:>=3.7,<3.10
  Using version 1.5.4 (newest of versions: 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4)
  Looking up "https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz" in the cache
  Current age based on date: 7960
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 7960
  Using cached https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b (from https://pypi.org/simple/scipy/) (requires-python:>=3.6)
  Running setup.py (path:/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py) egg_info for package scipy
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/scipy.egg-info
    writing pip-egg-info/scipy.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/scipy.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/scipy.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '*_subr_*.f' found under directory 'scipy/linalg/src/id_dist/src'
    no previously-included directories found matching 'benchmarks/env'
    no previously-included directories found matching 'benchmarks/results'
    no previously-included directories found matching 'benchmarks/html'
    no previously-included directories found matching 'benchmarks/scipy'
    no previously-included directories found matching 'scipy/special/tests/data/boost'
    no previously-included directories found matching 'scipy/special/tests/data/gsl'
    no previously-included directories found matching 'scipy/special/tests/data/local'
    no previously-included directories found matching 'doc/build'
    no previously-included directories found matching 'doc/source/generated'
    no previously-included directories found matching '*/__pycache__'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*~' found anywhere in distribution
    warning: no previously-included files matching '*.bak' found anywhere in distribution
    warning: no previously-included files matching '*.swp' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files found matching 'LICENSES_bundled.txt'
    writing manifest file 'pip-egg-info/scipy.egg-info/SOURCES.txt'
  Source in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy has version 1.5.4, which satisfies requirement scipy from https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b
Installing collected packages: scipy
  Running setup.py install for scipy ...     Running command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-xgk36ocr-record/install-record.txt --single-version-externally-managed --compile --user --prefix=

    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)


    Running from SciPy source directory.
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries tatlas,tatlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries tatlas,tatlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries tatlas,tatlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries tatlas,tatlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries tatlas,tatlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries satlas,satlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries satlas,satlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries satlas,satlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries satlas,satlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries satlas,satlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in /usr/local/lib64
      libraries f77blas,cblas,atlas not found in /usr/local/lib64
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib64/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib64/sse2
      libraries lapack_atlas not found in /usr/lib64
      libraries f77blas,cblas,atlas not found in /usr/lib64
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/sse2
      libraries lapack_atlas not found in /usr/lib/
      libraries f77blas,cblas,atlas not found in /usr/lib/
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    accelerate_info:
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE

    /home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py", line 583, in <module>
        setup_package()
      File "/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py", line 579, in setup_package
        setup(**metadata)
      File "/home/577/am9105/.local/lib/python3.6/site-packages/numpy/distutils/core.py", line 135, in setup
        config = configuration()
      File "/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py", line 477, in configuration
        raise NotFoundError(msg)
    numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
error
Cleaning up...
  Removing source in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-xgk36ocr-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 365, in run
    strip_file_prefix=options.strip_file_prefix,
  File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 789, in install
    **kwargs
  File "/usr/lib/python3.6/site-packages/pip/req/req_install.py", line 882, in install
    spinner=spinner,
  File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 717, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /scratch/mi67/am9105/tmp/pip-xgk36ocr-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /scratch/mi67/am9105/tmp/pip-build-fjjv0ce9/scipy/
跳过链接https://files.pythonhosted.org/packages/cd/a3/84b9b6bd377509d01a20c8b0b6be7c8e62b00a211c07fe0c2bf24b6c5579/scipy-1.6.2-cp39-cp39-win_amd64.whl#sha256=d744657c27c128e357de2f0fd532c09c84cd6e4933e8232895a872e67059ac37 (来自https://pypi.org/simple/scipy/)(需要python:>=3.7,=3.7,=3.77960)
使用缓存https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz
从URL下载https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b (来自https://pypi.org/simple/scipy/)(需要python:>=3.6)
运行setup.py(路径:/scratch/mi67/am9105/tmp/pip-build-fjv0ce9/scipy/setup.py)包scipy的egg\u信息
运行命令python setup.py egg\u info
运行蛋_信息
创建pip鸡蛋信息/scipy.egg-info
编写pip egg info/scipy.egg-info/PKG-info
正在将依赖项链接写入pip egg info/scipy.egg-info/dependency\u links.txt
将顶级名称写入pip egg info/scipy.egg-info/top_level.txt
正在编写清单文件“pip egg info/scipy.egg info/SOURCES.txt”
正在读取清单文件'pip egg info/scipy.egg info/SOURCES.txt'
正在读取清单模板“manifest.in”
警告:在“scipy/linalg/src/id\u dist/src”目录下找不到以前包含的与“*.\u subr.*.f”匹配的文件
未找到与“基准/env”匹配的以前包含的目录
未找到与“基准/结果”匹配的以前包含的目录
未找到与“基准/html”匹配的以前包含的目录
未找到与“基准/scipy”匹配的以前包含的目录
未找到与“scipy/special/tests/data/boost”匹配的以前包含的目录
未找到与“scipy/special/tests/data/gsl”匹配的以前包含的目录
未找到与“scipy/special/tests/data/local”匹配的以前包含的目录
未找到与“文档/生成”匹配的以前包含的目录
未找到与“doc/source/generated”匹配的以前包含的目录
未找到与“*/\uuuu pycache\uuuu”匹配的以前包含的目录
警告:在发行版中找不到以前包含的与“*.pyc”匹配的文件
警告:在发行版中找不到以前包含的与“*~”匹配的文件
警告:在发行版中找不到以前包含的与“*.bak”匹配的文件
警告:在发行版中找不到以前包含的与“*.swp”匹配的文件
警告:在发行版中找不到以前包含的与“*.pyo”匹配的文件
警告:未找到以前包含的与“LICENSES\u bundled.txt”匹配的文件
正在编写清单文件“pip egg info/scipy.egg info/SOURCES.txt”
/scratch/mi67/am9105/tmp/pip-build-fjv0ce9/scipy中的源代码版本为1.5.4,满足了scipy的要求https://files.pythonhosted.org/packages/aa/d5/dd06fe0e274e579e1dff21aa021219c039df40e39709fabe559faed072a5/scipy-1.5.4.tar.gz#sha256=4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b
安装收集的软件包:scipy
正在为scipy运行setup.py安装程序…正在运行命令/usr/bin/python3.6-u-c“导入setuptools,tokenize;uuu文件uuu='/scratch/mi67/am9105/tmp/pip-build-fjv0ce9/scipy/setup.py';f=getattr(tokenize,'open',open)(uu文件);code=f.read().替换('\r\n','n');f.close();exec(编译(code,'uu文件,'exec')”安装--record/scratch/mi67/am9105/tmp/pip-xgk36ocr-record/install-record.txt--外部管理的单一版本--编译--用户--前缀=
注意:如果需要可靠的卸载行为,请安装
使用pip而不是“setup.py安装”:
-`pip install.`(来自git repo或下载的源代码
发布)
-`pip安装scipy`(PyPI上的最后一个scipy版本)
从SciPy源目录运行。
lapack_opt_信息:
lapack_mkl_信息:
自定义UnixC编译器
在['/usr/local/lib64'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib'、'/usr/lib'、'/usr/lib/'中找不到库mkl_rt]
无法使用的
openblas_lapack_信息:
在['/usr/local/lib64'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib64'、'/usr/lib'、'/usr/lib/'中找不到库openblas
无法使用的
openblas_clapack_信息:
在['/usr/local/lib64'、'/usr/local/lib'、'/usr/lib64'、'/usr/lib64'、'/usr/lib'、'/usr/lib/'中找不到库openblas、lapack
无法使用的
火焰信息:
在['/usr/local/lib64','/usr/local/lib','/usr/lib64','/usr/lib64','/usr/lib','/usr/lib/']中找不到库
无法使用的
atlas_3_10_线程信息:
设置PTATLAS=ATLAS
在/usr/local/lib64中找不到库lapack_atlas
库tatlas,在/usr/local/lib64中找不到tatlas
在/usr/local/lib中找不到库lapack_atlas
库tatlas,在/usr/local/lib中找不到tatlas
在/usr/lib64/sse2中找不到库lapack_atlas
库tatlas,在/usr/lib64/sse2中找不到tatlas
在/usr/lib64中找不到库lapack_atlas
库tatlas,在/usr/lib64中找不到tatlas
在/usr/lib/sse2中找不到库lapack_atlas
库tatlas,在/usr/lib/sse2中找不到tatlas
在/usr/lib中找不到库lapack_atlas
库tatlas,在/usr/lib中找不到tatlas
在/usr/lib/sse2中找不到库lapack_atlas
库tatlas,在/usr/lib/sse2中找不到tatlas
在/usr/lib中找不到库lapack_atlas/
库tatlas,在/usr/lib中找不到tatlas/
无法使用的
atlas_3_10_信息:
在/usr/local/lib64中找不到库lapack_atlas
库satlas,在/usr/loc中找不到satlas