Ich versuche, das Pynvvideocodec-Paket in Python 3.11 auf einer Windows 10-Maschine zu installieren. Python3.11 muss das Rad aus der Quelle bauen. Wenn es versucht, dies zu tun, erhalte ich die folgende Ausgabe: < /p>
Collecting pynvvideocodec
Using cached PyNvVideoCodec-1.0.2.tar.gz (79.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pynvvideocodec
Building wheel for pynvvideocodec (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pynvvideocodec (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [417 lines of output]
:31: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`.
By 2026-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\config\expand.py:126: SetuptoolsWarning: File 'C:\\Users\\Richy\\AppData\\Local\\Temp\\pip-install-_a5gww4n\\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\\README.md' cannot be found
return '\n'.join(
C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
dist._finalize_license_expression()
C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\dist.py:760: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
--------------------------------------------------------------------------------
-- Trying 'Ninja (Visual Studio 17 2022 x64 v144)' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja (Visual Studio 17 2022 x64 v144)' generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying 'Visual Studio 17 2022 x64 v144' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator
Visual Studio 17 2022
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Visual Studio 17 2022 x64 v144' generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying 'Visual Studio 17 2022 x64 v143' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator
Visual Studio 17 2022
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Visual Studio 17 2022 x64 v143' generator - failure
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- The C compiler identification is MSVC 19.27.29111.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is MSVC 19.27.29111.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (2.9s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\_skbuild\win-amd64-3.11\cmake-build
Command:
'C:\Program Files\CMake\bin\cmake.EXE' 'C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf' -G Ninja -D_SKBUILD_FORCE_MSVC=1920 --no-warn-unused-cli '-DCMAKE_INSTALL_
PREFIX:PATH=C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\_skbuild\win-amd64-3.11\cmake-install\src' -DPYTHON_VERSION_STRING:STRING=3.11.9 -DSKBUILD:INTERNAL=TRUE '-DCMAKE
_MODULE_PATH:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv\Scripts\python.exe' '-DP
YTHON_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython_EXECUTABLE:PATH=C:\Users\Richy\Py
charmProjects\pythonProject1\.venv\Scripts\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Prog
rams\Python\Python311\Include' '-DPython_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\
Lib\site-packages\numpy\_core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv\Scripts\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv' -DPython3_FI
ND_REGISTRY:STRING=NEVER '-DPython3_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\Include' '-DPython3_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\numpy\_core\include' -DCMAKE_BUILD_TYPE:STRING=Release
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.27.29111.0
-- The CXX compiler identification is MSVC 19.27.29111.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include (found suitable version "11.8.89", minimum required is "11.2")
-- The CUDA compiler identification is NVIDIA 11.8.89 with host compiler MSVC 19.27.29111.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin/nvcc.exe - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Using FFMPEG_DIR=C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg
-- Using CMAKE_SYSTEM_PROCESSOR=AMD64
-- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/avformat.lib
-- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/avcodec.lib
-- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/swresample.lib
-- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/avutil.lib
-- HAS_BSF=
-- Found Python3: C:/Users/Richy/PycharmProjects/pythonProject1/.venv/Scripts/python.exe (found suitable version "3.11.9", minimum required is "3.6") found components: Interpreter Development Development.Module Development.Embed
-- Populating pybind11
-- Configuring done (0.2s)
-- Generating done (0.1s)
-- Build files have been written to: C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild
-- Downloading...
dst='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/pybind/pybind11/archive/v2.10.0.tar.gz'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 18% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 52% complete]
-- [download 54% complete]
-- [download 56% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 75% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 80% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 87% complete]
-- [download 89% complete]
-- [download 91% complete]
-- [download 93% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz'
-- Downloading... done
-- extracting...
src='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz'
dst='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[1/9] Creating directories for 'pybind11-populate'
[1/9] Performing download step (download, verify and extract) for 'pybind11-populate'
[2/9] No update step for 'pybind11-populate'
[3/9] No patch step for 'pybind11-populate'
[5/9] No configure step for 'pybind11-populate'
[6/9] No build step for 'pybind11-populate'
[7/9] No install step for 'pybind11-populate'
[8/9] No test step for 'pybind11-populate'
[9/9] Completed 'pybind11-populate'
CMake Error at _skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-src/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 660, in setup
env = cmkr.configure(
^^^^^^^^^^^^^^^
File "C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\skbuild\cmaker.py", line 354, in configure
raise SKBuildError(msg)
An error occurred while configuring with CMake.
Command:
'C:\Program Files\CMake\bin\cmake.EXE' 'C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf' -G Ninja -D_SKBUILD_FORCE_MSVC=1920 --no-warn-unused-cli '-DCMAKE_INSTALL_
PREFIX:PATH=C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\_skbuild\win-amd64-3.11\cmake-install\src' -DPYTHON_VERSION_STRING:STRING=3.11.9 -DSKBUILD:INTERNAL=TRUE '-DCMAKE
_MODULE_PATH:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv\Scripts\python.exe' '-DP
YTHON_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython_EXECUTABLE:PATH=C:\Users\Richy\Py
charmProjects\pythonProject1\.venv\Scripts\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Prog
rams\Python\Python311\Include' '-DPython_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\
Lib\site-packages\numpy\_core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv\Scripts\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv' -DPython3_FI
ND_REGISTRY:STRING=NEVER '-DPython3_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\Include' '-DPython3_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\numpy\_core\include' -DCMAKE_BUILD_TYPE:STRING=Release
Source directory:
C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf
Working directory:
C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\_skbuild\win-amd64-3.11\cmake-build
Please see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a [url=viewtopic.php?t=19220]problem[/url] with pip.
ERROR: Failed building wheel for pynvvideocodec
Failed to build pynvvideocodec
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynvvideocodec)
cmake Version 4.0.0-RC3
Ich bin mir nicht sicher, was ich damit machen soll, und jeder Zeiger in die richtige Richtung wäre sehr geschätzt!
Ich versuche, das Pynvvideocodec-Paket in Python 3.11 auf einer Windows 10-Maschine zu installieren. Python3.11 muss das Rad aus der Quelle bauen. Wenn es versucht, dies zu tun, erhalte ich die folgende Ausgabe: < /p> [code]Collecting pynvvideocodec Using cached PyNvVideoCodec-1.0.2.tar.gz (79.0 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: pynvvideocodec Building wheel for pynvvideocodec (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for pynvvideocodec (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [417 lines of output] :31: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !!
******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`.
By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ********************************************************************************
!! corresp(dist, value, root_dir) C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\config\expand.py:126: SetuptoolsWarning: File 'C:\\Users\\Richy\\AppData\\Local\\Temp\\pip-install-_a5gww4n\\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\\README.md' cannot be found return '\n'.join( C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !!
******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ********************************************************************************
!! dist._finalize_license_expression() C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\setuptools\dist.py:760: SetuptoolsDeprecationWarning: License classifiers are deprecated. !!
******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ********************************************************************************
!! self._finalize_license_expression()
-------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v144)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.
Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.
-- The C compiler identification is unknown CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE): No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-------------------------------------------------------------------------------- -- Trying 'Visual Studio 17 2022 x64 v144' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.
Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.
CMake Error at CMakeLists.txt:2 (PROJECT): Generator
-------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.
Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.
-- The C compiler identification is unknown CMake Error at CMakeLists.txt:3 (ENABLE_LANGUAGE): No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
-------------------------------------------------------------------------------- -- Trying 'Visual Studio 17 2022 x64 v143' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.
Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.
CMake Error at CMakeLists.txt:2 (PROJECT): Generator
-------------------------------------------------------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.
Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.
-- The C compiler identification is MSVC 19.27.29111.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is MSVC 19.27.29111.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (2.9s) -- Generating done (0.1s) -- Build files have been written to: C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_cmake_test_compile/build -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja (Visual Studio 16 2019 x64 v142)' generator - success --------------------------------------------------------------------------------
Not searching for unused variables given on the command line. -- The C compiler identification is MSVC 19.27.29111.0 -- The CXX compiler identification is MSVC 19.27.29111.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.27.29110/bin/Hostx86/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include (found suitable version "11.8.89", minimum required is "11.2") -- The CUDA compiler identification is NVIDIA 11.8.89 with host compiler MSVC 19.27.29111.0 -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin/nvcc.exe - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Success -- Using FFMPEG_DIR=C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg -- Using CMAKE_SYSTEM_PROCESSOR=AMD64 -- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/avformat.lib -- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/avcodec.lib -- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/swresample.lib -- Link C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/external/ffmpeg/lib/x64/avutil.lib -- HAS_BSF= -- Found Python3: C:/Users/Richy/PycharmProjects/pythonProject1/.venv/Scripts/python.exe (found suitable version "3.11.9", minimum required is "3.6") found components: Interpreter Development Development.Module Development.Embed -- Populating pybind11 -- Configuring done (0.2s) -- Generating done (0.1s) -- Build files have been written to: C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild -- Downloading... dst='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz' timeout='none' inactivity timeout='none' -- Using src='https://github.com/pybind/pybind11/archive/v2.10.0.tar.gz' -- [download 0% complete] -- [download 1% complete] -- [download 2% complete] -- [download 3% complete] -- [download 5% complete] -- [download 6% complete] -- [download 8% complete] -- [download 9% complete] -- [download 11% complete] -- [download 12% complete] -- [download 14% complete] -- [download 15% complete] -- [download 16% complete] -- [download 18% complete] -- [download 20% complete] -- [download 21% complete] -- [download 22% complete] -- [download 23% complete] -- [download 25% complete] -- [download 26% complete] -- [download 27% complete] -- [download 28% complete] -- [download 29% complete] -- [download 30% complete] -- [download 32% complete] -- [download 33% complete] -- [download 34% complete] -- [download 36% complete] -- [download 37% complete] -- [download 38% complete] -- [download 40% complete] -- [download 41% complete] -- [download 42% complete] -- [download 44% complete] -- [download 45% complete] -- [download 46% complete] -- [download 47% complete] -- [download 49% complete] -- [download 50% complete] -- [download 52% complete] -- [download 54% complete] -- [download 56% complete] -- [download 59% complete] -- [download 60% complete] -- [download 61% complete] -- [download 63% complete] -- [download 64% complete] -- [download 65% complete] -- [download 66% complete] -- [download 67% complete] -- [download 69% complete] -- [download 70% complete] -- [download 71% complete] -- [download 72% complete] -- [download 75% complete] -- [download 77% complete] -- [download 78% complete] -- [download 80% complete] -- [download 83% complete] -- [download 84% complete] -- [download 85% complete] -- [download 87% complete] -- [download 89% complete] -- [download 91% complete] -- [download 93% complete] -- [download 95% complete] -- [download 96% complete] -- [download 97% complete] -- [download 99% complete] -- [download 100% complete] -- verifying file... file='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz' -- Downloading... done -- extracting... src='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-subbuild/pybind11-populate-prefix/src/v2.10.0.tar.gz' dst='C:/Users/Richy/AppData/Local/Temp/pip-install-_a5gww4n/pynvvideocodec_1b636d868311420c9a1f32843d1e33cf/_skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-src' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [1/9] Creating directories for 'pybind11-populate' [1/9] Performing download step (download, verify and extract) for 'pybind11-populate' [2/9] No update step for 'pybind11-populate' [3/9] No patch step for 'pybind11-populate' [5/9] No configure step for 'pybind11-populate' [6/9] No build step for 'pybind11-populate' [7/9] No install step for 'pybind11-populate' [8/9] No test step for 'pybind11-populate' [9/9] Completed 'pybind11-populate' CMake Error at _skbuild/win-amd64-3.11/cmake-build/_deps/pybind11-src/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred! Traceback (most recent call last): File "C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 660, in setup env = cmkr.configure( ^^^^^^^^^^^^^^^ File "C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\skbuild\cmaker.py", line 354, in configure raise SKBuildError(msg)
An error occurred while configuring with CMake. Command: 'C:\Program Files\CMake\bin\cmake.EXE' 'C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf' -G Ninja -D_SKBUILD_FORCE_MSVC=1920 --no-warn-unused-cli '-DCMAKE_INSTALL_ PREFIX:PATH=C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\_skbuild\win-amd64-3.11\cmake-install\src' -DPYTHON_VERSION_STRING:STRING=3.11.9 -DSKBUILD:INTERNAL=TRUE '-DCMAKE _MODULE_PATH:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv\Scripts\python.exe' '-DP YTHON_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython_EXECUTABLE:PATH=C:\Users\Richy\Py charmProjects\pythonProject1\.venv\Scripts\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Prog rams\Python\Python311\Include' '-DPython_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\ Lib\site-packages\numpy\_core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv\Scripts\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\Richy\PycharmProjects\pythonProject1\.venv' -DPython3_FI ND_REGISTRY:STRING=NEVER '-DPython3_INCLUDE_DIR:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\Include' '-DPython3_LIBRARY:PATH=C:\Users\Richy\AppData\Local\Programs\Python\Python311\libs\python311.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\Richy\AppData\Local\Temp\pip-build-env-84e9agn2\overlay\Lib\site-packages\numpy\_core\include' -DCMAKE_BUILD_TYPE:STRING=Release Source directory: C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf Working directory: C:\Users\Richy\AppData\Local\Temp\pip-install-_a5gww4n\pynvvideocodec_1b636d868311420c9a1f32843d1e33cf\_skbuild\win-amd64-3.11\cmake-build Please see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a [url=viewtopic.php?t=19220]problem[/url] with pip. ERROR: Failed building wheel for pynvvideocodec Failed to build pynvvideocodec ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynvvideocodec) [/code] cmake Version 4.0.0-RC3 Ich bin mir nicht sicher, was ich damit machen soll, und jeder Zeiger in die richtige Richtung wäre sehr geschätzt!
Ich versuche, Pakete zu aktualisieren, und ich bin, da er den Prozess durchläuft, der schließlich ohne Aktualisierung zurückläuft und zurückrollt. Ich versuche das auszuführen (ich habe auch mit...
Ich habe die PIP-Installation für Twilio gemacht und das Terminal hat den größten Teil der Installation durchgeführt, aber am Ende gab es mir im Installationsfehlercode:
ERROR: Could not install...
Ich versuche, Apache Cassandra auf Ubuntu 22.04 zu installieren, aber der Dienst startet nach der Installation nicht. Hier ist, was ich getan habe:
1. Installiert Java (Cassandra benötigt Java,...
Ich habe gerade mit einem Bootcamp-Kurs für KI/maschinelles Lernen begonnen. Bitte verzeihen Sie mir, wenn diese Frage nicht gut strukturiert ist. Ich bin noch ganz neu auf diesem Weg.
Bei der...