未能生成scikitimage

2024-09-27 07:26:32 发布

您现在位置:Python中文网/ 问答频道 /正文

目前我正在使用语音助手,在那里我必须安装ecapture。我正在尝试通过pip install ecapture安装ecapture,但出现了一些错误。我使用Python 3.85和Spypy1.5.2和微软Visual C++ +2015-2019可重新分发。 有一个错误:

        No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
      customize MSVCCompiler using build_ext
      CCompilerOpt.cc_test_flags[999] : testing flags (/O2)
      Partial import of skimage during the build process.
      CCompilerOpt._cache_write[796] : write cache to path -> C:\Users\DELL\AppData\Local\Temp\pip-install-u2rsm8_k\scikit-image_b7e187dc339d42e19ff1fb940d68ef6f\build\temp.win-amd64-3.8\Release\ccompiler_opt_cache_ext.py
      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/
      ----------------------------------------
      ERROR: Failed building wheel for scikit-image
    Failed to build scikit-image
    ERROR: Could

 not build wheels for scikit-image which use PEP 517 and cannot be installed directly

有人有任何线索来解决这个问题,请告诉我


Tags: installpipimagebuildnumpycache错误scikit

热门问题