Форум программистов, компьютерный форум, киберфорум
Python
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.78/18: Рейтинг темы: голосов - 18, средняя оценка - 4.78
12 / 7 / 6
Регистрация: 05.01.2021
Сообщений: 162

Не могу установить ImageAI

04.10.2022, 15:41. Показов 4187. Ответов 4
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Версия VS Coder: 1.71.2

Ошибка:
Кликните здесь для просмотра всего текста
pip install imageai
Collecting imageai
Using cached imageai-2.1.6-py3-none-any.whl (160 kB)
Collecting h5py==2.10.0
Using cached h5py-2.10.0.tar.gz (301 kB)
Preparing metadata (setup.py) ... done
Collecting scipy==1.4.1
Using cached scipy-1.4.1.tar.gz (24.6 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [318 lines of output]
Ignoring numpy: markers 'python_version == "3.5" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.5" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting setuptools
Downloading setuptools-65.4.1-py3-none-any.whl (1.2 MB)
---------------------------------------- 1.2/1.2 MB 311.6 kB/s eta 0:00:00
Collecting Cython>=0.29.13
Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
Collecting numpy==1.17.3
Using cached numpy-1.17.3.zip (6.4 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting pybind11>=2.4.0
Using cached pybind11-2.10.0-py3-none-any.whl (213 kB)
Using legacy 'setup.py install' for numpy, since package 'wheel' is not installed.
Installing collected packages: wheel, setuptools, pybind11, numpy, Cython
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
error: subprocess-exited-with-error

Running setup.py install for numpy did not run successfully.
exit code: 1

[277 lines of output]
Running from numpy source directory.

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 numpy` (last NumPy release on PyPi)


blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

blis_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries blis not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

openblas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

atlas_3_10_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

accelerate_info:
NOT AVAILABLE

C:\Users\user\AppData\Local\Temp\pip-install-np_s8cax\numpy_7be16dcf01aa4956a13dd61c1 d2d9524\numpy\distutils\system_info.py:6 90: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries blas not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

C:\Users\user\AppData\Local\Temp\pip-install-np_s8cax\numpy_7be16dcf01aa4956a13dd61c1 d2d9524\numpy\distutils\system_info.py:6 90: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
blas_src_info:
NOT AVAILABLE

C:\Users\user\AppData\Local\Temp\pip-install-np_s8cax\numpy_7be16dcf01aa4956a13dd61c1 d2d9524\numpy\distutils\system_info.py:6 90: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
NOT AVAILABLE

"svnversion" ­Ґ пў«пҐвбп ў­гв७­Ґ© Ё«Ё ў­Ґи­Ґ©
Є®¬ ­¤®©, ЁбЇ®«­пҐ¬®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐв­л¬ д ©«®¬.
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

openblas_lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

openblas_clapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas,lapack not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

flame_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries flame not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
<class 'numpy.distutils.system_info.atlas_3_10_ threads_info'>
NOT AVAILABLE

atlas_3_10_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
<class 'numpy.distutils.system_info.atlas_3_10_ info'>
NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
<class 'numpy.distutils.system_info.atlas_threa ds_info'>
NOT AVAILABLE

atlas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in c:\users\user\appdata\local\programs\pyt hon\python39\libs
<class 'numpy.distutils.system_info.atlas_info' >
NOT AVAILABLE

lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack not found in ['c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\progra ms\\python\\python39\\libs']
NOT AVAILABLE

C:\Users\user\AppData\Local\Temp\pip-install-np_s8cax\numpy_7be16dcf01aa4956a13dd61c1 d2d9524\numpy\distutils\system_info.py:1 712: 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.
if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
NOT AVAILABLE

C:\Users\user\AppData\Local\Temp\pip-install-np_s8cax\numpy_7be16dcf01aa4956a13dd61c1 d2d9524\numpy\distutils\system_info.py:1 712: 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.
if getattr(self, '_calc_info_{}'.format(lapack))():
NOT AVAILABLE

c:\users\user\appdata\local\programs\pyt hon\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.9
creating build\src.win-amd64-3.9\numpy
creating build\src.win-amd64-3.9\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

Encountered error while trying to install package.

numpy

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.


error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
Это пробовал установить, но не помогло
0
cpp_developer
Эксперт
20123 / 5690 / 1417
Регистрация: 09.04.2010
Сообщений: 22,546
Блог
04.10.2022, 15:41
Ответы с готовыми решениями:

Video detection with ImageAI and YOLOv3
Помогите разобраться с ошибкой. Новичок в этом деле. Начал изучать машинное обучение и обнаружение объектов на ПИТОНЕ. Примеров...

Обучение ImageAI для распознавания моделей
Пытаюсь обучить Tensorflow распознаванию объектов from imageai.Prediction.Custom import ModelTraining model_trainer =...

Не могу установить Windows из-за того,что не могу сделать выбор установки
Подскажите, я устанавливаю виндовс XP,с диска,на экране высвечивает загруска с диска С, ниже автоматическая загрузка с драйверами,ещё ниже...

4
Автоматизируй это!
Эксперт Python
 Аватар для Welemir1
7392 / 4819 / 1246
Регистрация: 30.03.2015
Сообщений: 13,694
Записей в блоге: 29
04.10.2022, 15:46
WeBBeW, а ты пошел и посмотрел почитал их доку?
например вот пишут версию питона 3.7
https://github.com/OlafenwaMos... pendencies
0
12 / 7 / 6
Регистрация: 05.01.2021
Сообщений: 162
04.10.2022, 18:32  [ТС]
Welemir1, все равно не устанавливается

Кликните здесь для просмотра всего текста
py -3.7 -m pip install imageai
Collecting imageai
Using cached https://files.pythonhosted.org... ne-any.whl
Collecting keras-resnet==0.2.0 (from imageai)
Using cached https://files.pythonhosted.org... 2.0.tar.gz
Collecting h5py==2.10.0 (from imageai)
Using cached https://files.pythonhosted.org... _amd64.whl
Collecting pillow==7.0.0 (from imageai)
Using cached https://files.pythonhosted.org... _amd64.whl
Collecting keras==2.4.3 (from imageai)
Using cached https://files.pythonhosted.org... ne-any.whl
Collecting matplotlib==3.3.2 (from imageai)
Using cached https://files.pythonhosted.org... _amd64.whl
Collecting numpy==1.19.3 (from imageai)
Using cached https://files.pythonhosted.org... _amd64.whl
Collecting scipy==1.4.1 (from imageai)
Using cached https://files.pythonhosted.org... _amd64.whl
Collecting opencv-python (from imageai)
Using cached https://files.pythonhosted.org... .66.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting six (from h5py==2.10.0->imageai)
Using cached https://files.pythonhosted.org... ne-any.whl
Collecting pyyaml (from keras==2.4.3->imageai)
Using cached https://files.pythonhosted.org... _amd64.whl
Collecting cycler>=0.10 (from matplotlib==3.3.2->imageai)
Using cached https://files.pythonhosted.org... ne-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 (from matplotlib==3.3.2->imageai)
Using cached https://files.pythonhosted.org... ne-any.whl
Collecting python-dateutil>=2.1 (from matplotlib==3.3.2->imageai)
Using cached https://files.pythonhosted.org... ne-any.whl
Collecting kiwisolver>=1.0.1 (from matplotlib==3.3.2->imageai)
Using cached https://files.pythonhosted.org... _amd64.whl
Collecting certifi>=2020.06.20 (from matplotlib==3.3.2->imageai)
Downloading https://files.pythonhosted.org... ne-any.whl (161kB)
|████████████████████████████████| 163kB 386kB/s
Collecting typing-extensions; python_version < "3.8" (from kiwisolver>=1.0.1->matplotlib==3.3.2->imageai)
Using cached https://files.pythonhosted.org... ne-any.whl
Building wheels for collected packages: opencv-python
Building wheel for opencv-python (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\AppData\Local\Programs\Py thon\Python37\python.exe' 'C:\Users\user\AppData\Local\Programs\Py thon\Python37\lib\site-packages\pip\_vendor\pep517\_in_process. py' build_wheel 'C:\Users\user\AppData\Local\Temp\tmpxvl 75nju'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-xppxslkm\opencv-python
Complete output (332 lines):
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

Ninja

does not support platform specification, but platform

x64

was specified.


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

Visual Studio 17 2022

could not find any instance of Visual Studio.



-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

Ninja

does not support platform specification, but platform

x64

was specified.


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

Visual Studio 16 2019

could not find any instance of Visual Studio.



-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

Ninja

does not support platform specification, but platform

x64

was specified.


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

Visual Studio 15 2017

could not find any instance of Visual Studio.



-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

NMake Makefiles

does not support platform specification, but platform

x64

was specified.


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

NMake Makefiles

does not support platform specification, but platform

x64

was specified.


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

NMake Makefiles

does not support platform specification, but platform

x64

was specified.


-- Configuring incomplete, errors occurred!
See also "C:/Users/user/AppData/Local/Temp/pip-install-xppxslkm/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".


--------------------------------------------------------------------------------
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "Visual Studio 17 2022 x64 v143" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Visual Studio 17 2022 x64 v143" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "Visual Studio 16 2019 x64 v142" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Visual Studio 16 2019 x64 v142" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "Visual Studio 15 2017 x64 v141" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Visual Studio 15 2017 x64 v141" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator - failure
--------------------------------------------------------------------------------



--------------------------------------------------------------------------------
-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator - failure
--------------------------------------------------------------------------------

**************************************** ****************************************
scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.7 requires Microsoft Visual Studio 2022.
Get it with "Visual Studio 2017":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2019":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2022":

https://visualstudio.microsoft.com/vs/

**************************************** ****************************************
----------------------------------------
ERROR: Failed building wheel for opencv-python
Running setup.py clean for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly
0
Автоматизируй это!
Эксперт Python
 Аватар для Welemir1
7392 / 4819 / 1246
Регистрация: 30.03.2015
Сообщений: 13,694
Записей в блоге: 29
04.10.2022, 18:52
WeBBeW, а ты прошел по ссылке и все сделал как у них написано? например вот тебе пишут про визуал студио -установил?
0
12 / 7 / 6
Регистрация: 05.01.2021
Сообщений: 162
04.10.2022, 20:35  [ТС]
Welemir1, попробовал на VS 2019. Такую же ошибку вывело
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
raxper
Эксперт
30234 / 6612 / 1498
Регистрация: 28.12.2010
Сообщений: 21,154
Блог
04.10.2022, 20:35
Помогаю со студенческими работами здесь

Ошибка при импорте ImageAI (AttributeError: module 'tensorflow.compat.v2.__internal__' has no attribute 'tf2')
Здравствуйте. У меня стоит задача распознания людей на фото. Силуэтов, а не лиц. При распознании обьектов часто обращаются к нейронным...

Не могу установить os
Ставлю os выбивает ошибку, уже и windows xp, windows 7, linux ubuntu ставил везде ошибка, говорят нужно вбиосе по шуршить, подскажите...

Не могу установить VS
Добрый день! Не могу установить VS 2019, установочник зацикливается и все, т.е. качает какие то файлы, проверяет и опять по новой...

не могу установить ос
Здравствуйте, как установить Windows 7, bios 0403 выглядит вот так ...

не могу установить wi-fi(((
добрый день!помогите пожалуйста!!! мне один знакомый переустановил Windows xp на ноуте(Fujitsu Siemens Amilo Pro V3515). причем драйверов...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
5
Ответ Создать тему
Новые блоги и статьи
Программная установка даты и запрет ее изменения
Maks 02.04.2026
Алгоритм из решения ниже реализован на примере нетипового документа "СписаниеМатериалов", разработанного в конфигурации КА2. Задача: при создании документов установить период списания автоматически. . .
Вывод данных через динамический список в справочнике
Maks 01.04.2026
Реализация из решения ниже выполнена на примере нетипового справочника "Спецтехника" разработанного в конфигурации КА2. Задача: вывести данные из ТЧ нетипового документа. . .
Функция заполнения текстового поля в реквизите формы документа
Maks 01.04.2026
Алгоритм из решения ниже реализован на нетиповом документе "ВыдачаОборудованияНаСпецтехнику" разработанного в конфигурации КА2, в дополнении к предыдущему решению. На форме документа создается. . .
К слову об оптимизации
kumehtar 01.04.2026
Вспоминаю начало 2000-х, университет, когда я писал на Delphi. Тогда среди программистов на форумах активно обсуждали аккуратную работу с памятью: нужно было следить за переменными, вовремя. . .
Идея фильтра интернета (сервер = слой+фильтр).
Hrethgir 31.03.2026
Суть идеи заключается в том, чтобы запустить свой сервер, о чём я если честно мечтал давно и давно приобрёл книгу как это сделать. Но не было причин его запускать. Очумелые учёные напечатали на. . .
Модель здравосоХранения 6. ESG-повестка и устойчивое развитие; углублённый анализ кадрового бренда
anaschu 31.03.2026
В прикрепленном документе раздумья о том, как можно поменять модель в будущем
10 пpимет, которые всегда сбываются
Maks 31.03.2026
1. Чтобы, наконец, пришла маршрутка, надо закурить. Если сигарета последняя, маршрутка придет еще до второй затяжки даже вопреки расписанию. 2. Нaдоели зима и снег? Не надо переезжать. Достаточно. . .
Перемещение выделенных строк ТЧ из одного документа в другой
Maks 31.03.2026
Реализация из решения ниже выполнена на примере нетипового документа "ВыдачаОборудованияНаСпецтехнику" с единственной табличной частью "ОборудованиеИКомплектующие" разработанного в конфигурации КА2. . . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru