creating build\lib.win-amd64-3.9\skimage\viewer\tests
copying skimage\viewer\tests\test_plugins.py -> build\lib.win-amd64-3.9\skimage\viewer\tests
copying skimage\viewer\tests\test_tools.py -> build\lib.win-amd64-3.9\skimage\viewer\tests
copying skimage\viewer\tests\test_utils.py -> build\lib.win-amd64-3.9\skimage\viewer\tests
copying skimage\viewer\tests\test_viewer.py -> build\lib.win-amd64-3.9\skimage\viewer\tests
copying skimage\viewer\tests\test_widgets.py -> build\lib.win-amd64-3.9\skimage\viewer\tests
copying skimage\viewer\tests\__init__.py -> build\lib.win-amd64-3.9\skimage\viewer\tests
creating build\lib.win-amd64-3.9\skimage\viewer\utils
copying skimage\viewer\utils\canvas.py -> build\lib.win-amd64-3.9\skimage\viewer\utils
copying skimage\viewer\utils\core.py -> build\lib.win-amd64-3.9\skimage\viewer\utils
copying skimage\viewer\utils\dialogs.py -> build\lib.win-amd64-3.9\skimage\viewer\utils
copying skimage\viewer\utils\__init__.py -> build\lib.win-amd64-3.9\skimage\viewer\utils
creating build\lib.win-amd64-3.9\skimage\viewer\viewers
copying skimage\viewer\viewers\core.py -> build\lib.win-amd64-3.9\skimage\viewer\viewers
copying skimage\viewer\viewers\__init__.py -> build\lib.win-amd64-3.9\skimage\viewer\viewers
creating build\lib.win-amd64-3.9\skimage\viewer\widgets
copying skimage\viewer\widgets\core.py -> build\lib.win-amd64-3.9\skimage\viewer\widgets
copying skimage\viewer\widgets\history.py -> build\lib.win-amd64-3.9\skimage\viewer\widgets
copying skimage\viewer\widgets\__init__.py -> build\lib.win-amd64-3.9\skimage\viewer\widgets
creating build\lib.win-amd64-3.9\skimage\_shared\tests
copying skimage\_shared\tests\test_geometry.py -> build\lib.win-amd64-3.9\skimage\_shared\tests
copying skimage\_shared\tests\test_interpolation.py -> build\lib.win-amd64-3.9\skimage\_shared\tests
copying skimage\_shared\tests\test_safe_as_int.py -> build\lib.win-amd64-3.9\skimage\_shared\tests
copying skimage\_shared\tests\test_testing.py -> build\lib.win-amd64-3.9\skimage\_shared\tests
copying skimage\_shared\tests\test_utils.py -> build\lib.win-amd64-3.9\skimage\_shared\tests
copying skimage\_shared\tests\test_version_requirements.py -> build\lib.win-amd64-3.9\skimage\_shared\tests
copying skimage\_shared\tests\__init__.py -> build\lib.win-amd64-3.9\skimage\_shared\tests
running build_ext
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
INFO: customize MSVCCompiler
INFO: customize MSVCCompiler using ConditionalOpenMP
INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (/O2)
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
INFO: CCompilerOpt.cache_flush[864] : write cache to path -> C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scikit-image_72209e25db6e4a4bbf83ea28e781a738\build\temp.win-amd64-3.9\Release\ccompiler_opt_cache_ext.py
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-image
Running setup.py clean for scikit-image
DEPRECATION: Building 'scikit-learn' using the legacy setup.py bdist_wheel mechanism, which will
be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'scikit-learn'. Discussion can be found at https://github.com/pypa/pip/issues/6334
Building wheel for scikit-learn (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
Partial import of sklearn during the build process.
C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scikit-learn_dd2feef2e3f9437783000c809f0df5ad\setup.py:123: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.command.build_ext import build_ext # noqa
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scikit-learn_dd2feef2e3f9437783000c809f0df5ad\setup.py", line 195, in check_package_status
module = importlib.import_module(package)
File "E:\Anaconda3\envs\yanzhan\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'scipy'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scikit-learn_dd2feef2e3f9437783000c809f0df5ad\setup.py", line 303, in <module>
setup_package()
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scikit-learn_dd2feef2e3f9437783000c809f0df5ad\setup.py", line 293, in setup_package
check_package_status('scipy', SCIPY_MIN_VERSION)
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scikit-learn_dd2feef2e3f9437783000c809f0df5ad\setup.py", line 219, in check_package_status
raise ImportError("{} is not "
ImportError: scipy is not installed.
scikit-learn requires scipy >= 0.17.0.
Installation instructions are available on the scikit-learn website: http://scikit-learn.org/stable/install.html
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-learn
Running setup.py clean for scikit-learn
DEPRECATION: Building 'scipy' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to
use the standardized build interface by setting the `--use-pep517` option, (possibly combined with
`--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'scipy'. Discussion can be found at https://github.com/pypa/pip/issues/6334
Building wheel for scipy (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [152 lines of output]
C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scipy_7d61bbd66db1408abaa094429fe0f46d\setup.py:114: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scipy_7d61bbd66db1408abaa094429fe0f46d\setup.py:450: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.core import setup
INFO: lapack_opt_info:
INFO: lapack_armpl_info:
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
INFO: customize MSVCCompiler
INFO: libraries armpl_lp64_mp not found in ['E:\\Anaconda3\\envs\\yanzhan\\lib', 'C:\\', 'E:\\Anaconda3\\envs\\yanzhan\\libs', 'E:\\Anaconda3\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: lapack_mkl_info:
INFO: libraries mkl_rt not found in ['E:\\Anaconda3\\envs\\yanzhan\\lib', 'C:\\', 'E:\\Anaconda3\\envs\\yanzhan\\libs', 'E:\\Anaconda3\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: lapack_ssl2_info:
INFO: libraries fjlapackexsve not found in ['E:\\Anaconda3\\envs\\yanzhan\\lib', 'C:\\', 'E:\\Anaconda3\\envs\\yanzhan\\libs', 'E:\\Anaconda3\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_lapack_info:
INFO: libraries openblas not found in ['E:\\Anaconda3\\envs\\yanzhan\\lib', 'C:\\', 'E:\\Anaconda3\\envs\\yanzhan\\libs', 'E:\\Anaconda3\\Library\\lib']
INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
INFO: customize GnuFCompiler
WARN: Could not locate executable g77
WARN: Could not locate executable f77
INFO: customize IntelVisualFCompiler
WARN: Could not locate executable ifort
WARN: Could not locate executable ifl
INFO: customize AbsoftFCompiler
WARN: Could not locate executable f90
INFO: customize CompaqVisualFCompiler
WARN: Could not locate executable DF
INFO: customize IntelItaniumVisualFCompiler
WARN: Could not locate executable efl
INFO: customize Gnu95FCompiler
WARN: Could not locate executable gfortran
WARN: Could not locate executable f95
INFO: customize G95FCompiler
WARN: Could not locate executable g95
INFO: customize IntelEM64VisualFCompiler
INFO: customize IntelEM64TFCompiler
WARN: Could not locate executable efort
WARN: Could not locate executable efc
INFO: customize PGroupFlangCompiler
WARN: Could not locate executable flang
WARN: don't know how to compile Fortran code on platform 'nt'
INFO: NOT AVAILABLE
INFO:
INFO: openblas_clapack_info:
INFO: libraries openblas,lapack not found in ['E:\\Anaconda3\\envs\\yanzhan\\lib', 'C:\\',
'E:\\Anaconda3\\envs\\yanzhan\\libs', 'E:\\Anaconda3\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: flame_info:
INFO: libraries flame not found in ['E:\\Anaconda3\\envs\\yanzhan\\lib', 'C:\\', 'E:\\Anaconda3\\envs\\yanzhan\\libs', 'E:\\Anaconda3\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
INFO: accelerate_info:
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries tatlas,tatlas not found in E:\Anaconda3\envs\yanzhan\lib
INFO: libraries tatlas,tatlas not found in C:\
INFO: libraries tatlas,tatlas not found in E:\Anaconda3\envs\yanzhan\libs
INFO: libraries tatlas,tatlas not found in E:\Anaconda3\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_info:
INFO: libraries satlas,satlas not found in E:\Anaconda3\envs\yanzhan\lib
INFO: libraries satlas,satlas not found in C:\
INFO: libraries satlas,satlas not found in E:\Anaconda3\envs\yanzhan\libs
INFO: libraries satlas,satlas not found in E:\Anaconda3\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries ptf77blas,ptcblas,atlas not found in E:\Anaconda3\envs\yanzhan\lib
INFO: libraries ptf77blas,ptcblas,atlas not found in C:\
INFO: libraries ptf77blas,ptcblas,atlas not found in E:\Anaconda3\envs\yanzhan\libs
INFO: libraries ptf77blas,ptcblas,atlas not found in E:\Anaconda3\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_info:
INFO: libraries f77blas,cblas,atlas not found in E:\Anaconda3\envs\yanzhan\lib
INFO: libraries f77blas,cblas,atlas not found in C:\
INFO: libraries f77blas,cblas,atlas not found in E:\Anaconda3\envs\yanzhan\libs
INFO: libraries f77blas,cblas,atlas not found in E:\Anaconda3\Library\lib
INFO: <class 'numpy.distutils.system_info.atlas_info'>
INFO: NOT AVAILABLE
INFO:
INFO: lapack_info:
INFO: libraries lapack not found in ['E:\\Anaconda3\\envs\\yanzhan\\lib', 'C:\\', 'E:\\Anaconda3\\envs\\yanzhan\\libs', 'E:\\Anaconda3\\Library\\lib']
INFO: NOT AVAILABLE
INFO:
E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\system_info.py:1974: 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))()
INFO: lapack_src_info:
INFO: NOT AVAILABLE
INFO:
E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\system_info.py:1974: 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))()
INFO: NOT AVAILABLE
INFO:
Running from scipy source directory.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scipy_7d61bbd66db1408abaa094429fe0f46d\setup.py", line 474, in <module>
setup_package()
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scipy_7d61bbd66db1408abaa094429fe0f46d\setup.py", line 470, in setup_package
setup(**metadata)
File "E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\core.py", line 136, in setup
config = configuration()
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scipy_7d61bbd66db1408abaa094429fe0f46d\setup.py", line 388, in configuration
config.add_subpackage('scipy')
File "E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\misc_util.py", line 1050, in add_subpackage
config_list = self.get_subpackage(subpackage_name, subpackage_path,
File "E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\misc_util.py", line 1016, in get_subpackage
config = self._get_configuration_from_setup_py(
File "E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\misc_util.py", line 958,
in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy\setup.py", line 15, in configuration
config.add_subpackage('linalg')
File "E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\misc_util.py", line 1050, in add_subpackage
config_list = self.get_subpackage(subpackage_name, subpackage_path,
File "E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\misc_util.py", line 1016, in get_subpackage
config = self._get_configuration_from_setup_py(
File "E:\Anaconda3\envs\yanzhan\lib\site-packages\numpy\distutils\misc_util.py", line 958,
in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy\linalg\setup.py", line 19, in configuration
raise NotFoundError('no lapack/blas resources found')
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scipy
Running setup.py clean for scipy
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
C:\Users\Administrator\AppData\Local\Temp\pip-install-r0jsf780\scipy_7d61bbd66db1408abaa094429fe0f46d\setup.py:114: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for scipy
Successfully built absl-py albumentations imgaug future
Failed to build grpcio kiwisolver Pillow scikit-image scikit-learn scipy
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> grpcio, kiwisolver, Pillow, scikit-image, scikit-learn, scipy
怎么解决
最新发布