Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Could not build wheels for av, which is required to install pyproject.toml-based projects #43

Open
zhouxin0701 opened this issue Oct 24, 2024 · 0 comments

Comments

@zhouxin0701
Copy link

(eeg) C:\Users\12506>pip install E:\tobiiglassesctrl-2.4.3-py2.py3-none-any.whl
Processing e:\tobiiglassesctrl-2.4.3-py2.py3-none-any.whl
Requirement already satisfied: netifaces in f:\conda\envs\eeg\lib\site-packages (from tobiiglassesctrl==2.4.3) (0.11.0)
Requirement already satisfied: opencv-python==4.2.0.32 in f:\conda\envs\eeg\lib\site-packages (from tobiiglassesctrl==2.4.3) (4.2.0.32)
Collecting av==8.0.3 (from tobiiglassesctrl==2.4.3)
Using cached av-8.0.3.tar.gz (2.3 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.14.5 in f:\conda\envs\eeg\lib\site-packages (from opencv-python==4.2.0.32->tobiiglassesctrl==2.4.3) (1.21.6)
Building wheels for collected packages: av
Building wheel for av (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\av
copying av\datasets.py -> build\lib.win-amd64-cpython-37\av
copying av\deprecation.py -> build\lib.win-amd64-cpython-37\av
copying av_init_.py -> build\lib.win-amd64-cpython-37\av
copying av_main_.py -> build\lib.win-amd64-cpython-37\av
creating build\lib.win-amd64-cpython-37\av\audio
copying av\audio_init_.py -> build\lib.win-amd64-cpython-37\av\audio
creating build\lib.win-amd64-cpython-37\av\codec
copying av\codec_init_.py -> build\lib.win-amd64-cpython-37\av\codec
creating build\lib.win-amd64-cpython-37\av\container
copying av\container_init_.py -> build\lib.win-amd64-cpython-37\av\container
creating build\lib.win-amd64-cpython-37\av\data
copying av\data_init_.py -> build\lib.win-amd64-cpython-37\av\data
creating build\lib.win-amd64-cpython-37\av\filter
copying av\filter_init_.py -> build\lib.win-amd64-cpython-37\av\filter
creating build\lib.win-amd64-cpython-37\av\sidedata
copying av\sidedata_init_.py -> build\lib.win-amd64-cpython-37\av\sidedata
creating build\lib.win-amd64-cpython-37\av\subtitles
copying av\subtitles_init_.py -> build\lib.win-amd64-cpython-37\av\subtitles
creating build\lib.win-amd64-cpython-37\av\video
copying av\video_init_.py -> build\lib.win-amd64-cpython-37\av\video
running build_ext
running config
writing build\temp.win-amd64-cpython-37\Release\include\pyav\config.h
running cythonize
building 'av.buffer' extension
creating build\temp.win-amd64-cpython-37\Release\src
creating build\temp.win-amd64-cpython-37\Release\src\av
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IF:\conda\envs\eeg\include -Ibuild\temp.win-amd64-cpython-37\Release\include -IF:\conda\envs\eeg\Include -Iinclude -IF:\conda\envs\eeg\include -IF:\conda\envs\eeg\Include -Ibuild\temp.win-amd64-cpython-37\Release\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" /Tcsrc\av\buffer.c /Fobuild\temp.win-amd64-cpython-37\Release\src\av\buffer.obj
buffer.c
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:F:\conda\envs\eeg\PCbuild\amd64 /LIBPATH:F:\conda\envs\eeg /LIBPATH:F:\conda\envs\eeg\libs /LIBPATH:F:\conda\envs\eeg\libs /LIBPATH:F:\conda\envs\eeg /LIBPATH:F:\conda\envs\eeg\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\um\x64" avfilter.lib avformat.lib avcodec.lib swresample.lib avdevice.lib avutil.lib swscale.lib /EXPORT:PyInit_buffer build\temp.win-amd64-cpython-37\Release\src\av\buffer.obj /OUT:build\lib.win-amd64-cpython-37\av\buffer.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-37\Release\src\av\buffer.cp37-win_amd64.lib /OPT:NOREF
LINK : fatal error LNK1181: 无法打开输入文件“avfilter.lib”
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\link.exe' failed with exit code 1181
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for av
Running setup.py clean for av
Failed to build av
ERROR: Could not build wheels for av, which is required to install pyproject.toml-based projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant