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
Building wheel for biplist (setup.py) ... done
Created wheel for biplist: filename=biplist-1.0.3-py3-none-any.whl size=11112 sha256=a4d729333821d5ace3ee4c24ffe167c89577dbef381a6041c7293b64cce1aa26
Stored in directory: c:\users\blake\appdata\local\pip\cache\wheels\46\2c\cd\430837291daf5c95cad74ffd141ad4b379cfc73d41f9da8952
Building wheel for hexdump (setup.py) ... done
Created wheel for hexdump: filename=hexdump-3.3-py3-none-any.whl size=8953 sha256=eb3e967da622f65ff533fc51be596e930b06469c9bb06c24b68551336e69d871
Stored in directory: c:\users\blake\appdata\local\pip\cache\wheels\e7\e9\2c\acade4155d5e4d629d483bba20858447956413642cd0e2558d
Building wheel for hkdf (setup.py) ... done
Created wheel for hkdf: filename=hkdf-0.0.3-py3-none-any.whl size=3766 sha256=8cc68f2f386db1e1fd70b6408efbabbfa7d33cdcfd5544bc864f3cf10a73e112
Stored in directory: c:\users\blake\appdata\local\pip\cache\wheels\75\ce\64\89357f6d149a2462c21e9fcd5ebf6ef7102c52433932899a65
Successfully built biplist hexdump hkdf
Failed to build av
Installing collected packages: netifaces, ifaddr, hkdf, hexdump, biplist, av, zeroconf, urllib3, six, pycryptodome, pycparser, idna, charset-normalizer, certifi, srptools, requests, cffi, cryptography
Running setup.py install for av ... error
error: subprocess-exited-with-error
I'm closing this since it still does not seem to work within the virtualized environment, but using conda to install the AV package allowed me to continue with a standard install.
The problem
I am unable to install the software when trying to install on a windows system with the virtual environment.
What commit exhibits the issue?
Head
Was there a last known working commit?
No response
What type of installation are you running?
virtualenv
With which python3 version do you run Receiver?
Python 3.8.5
OS the receiver runs on
Windows
OS the sender runs
IOS
Which sender client was used
No response
Command invocation
pip install -r requirements.txt
Please include --debug output which helps to illustrate the problem
Microsoft Windows [Version 10.0.22621.963] (c) Microsoft Corporation. All rights reserved.
C:\Users\blake\Documents\GitHub\airplay2-receiver>virtualenv ap2env c:\users\blake\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( created virtual environment CPython3.8.5.final.0-32 in 495ms creator CPython3Windows(dest=C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\blake\AppData\Local\pypa\virtualenv) added seed packages: pip==22.3.1, setuptools==50.3.2, wheel==0.38.4 activators BashActivator,BatchActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
C:\Users\blake\Documents\GitHub\airplay2-receiver>.\ap2env\Scripts\activate
(ap2env) C:\Users\blake\Documents\GitHub\airplay2-receiver>pip install -r requirements.txt Collecting netifaces Using cached netifaces-0.11.0-cp38-cp38-win32.whl (15 kB) Collecting zeroconf==0.38.3 Using cached zeroconf-0.38.3-py3-none-any.whl (106 kB) Collecting biplist Using cached biplist-1.0.3.tar.gz (21 kB) Preparing metadata (setup.py) ... done Collecting pycryptodome Using cached pycryptodome-3.16.0-cp35-abi3-win32.whl (1.7 MB) Collecting hexdump Using cached hexdump-3.3.zip (12 kB) Preparing metadata (setup.py) ... done Collecting srptools Using cached srptools-1.0.1-py2.py3-none-any.whl (13 kB) Collecting hkdf Using cached hkdf-0.0.3.tar.gz (4.0 kB) Preparing metadata (setup.py) ... done Collecting cryptography Using cached cryptography-38.0.4-cp36-abi3-win32.whl (2.1 MB) Collecting requests Using cached requests-2.28.1-py3-none-any.whl (62 kB) Collecting av==8.1.0 Using cached av-8.1.0.tar.gz (2.4 MB) Preparing metadata (setup.py) ... done Collecting ifaddr>=0.1.7 Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB) Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting cffi>=1.12 Using cached cffi-1.15.1-cp38-cp38-win32.whl (170 kB) Collecting charset-normalizer<3,>=2 Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB) Collecting certifi>=2017.4.17 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Building wheels for collected packages: av, biplist, hexdump, hkdf 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.win32-3.8 creating build\lib.win32-3.8\av copying av\datasets.py -> build\lib.win32-3.8\av copying av\deprecation.py -> build\lib.win32-3.8\av copying av__init.py -> build\lib.win32-3.8\av copying av\main.py -> build\lib.win32-3.8\av creating build\lib.win32-3.8\av\audio copying av\audio\init.py -> build\lib.win32-3.8\av\audio creating build\lib.win32-3.8\av\codec copying av\codec\init.py -> build\lib.win32-3.8\av\codec creating build\lib.win32-3.8\av\container copying av\container\init.py -> build\lib.win32-3.8\av\container creating build\lib.win32-3.8\av\data copying av\data\init.py -> build\lib.win32-3.8\av\data creating build\lib.win32-3.8\av\filter copying av\filter\init.py -> build\lib.win32-3.8\av\filter creating build\lib.win32-3.8\av\sidedata copying av\sidedata\init.py -> build\lib.win32-3.8\av\sidedata creating build\lib.win32-3.8\av\subtitles copying av\subtitles\init.py -> build\lib.win32-3.8\av\subtitles creating build\lib.win32-3.8\av\video copying av\video\init__.py -> build\lib.win32-3.8\av\video running build_ext running config writing build\temp.win32-3.8\Release\include\pyav\config.h running cythonize building 'av.buffer' extension creating build\temp.win32-3.8\Release\src creating build\temp.win32-3.8\Release\src\av C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\include -Iinclude -Ibuild\temp.win32-3.8\Release\include -Ic:\users\blake\appdata\local\programs\python\python38-32\include -IC:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\include -Ic:\users\blake\appdata\local\programs\python\python38-32\include -Ic:\users\blake\appdata\local\programs\python\python38-32\include -Ibuild\temp.win32-3.8\Release\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /Tcsrc\av\buffer.c /Fobuild\temp.win32-3.8\Release\src\av\buffer.obj buffer.c C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x86\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\PCbuild\win32 /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\libs /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32 /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32\libs /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\libs /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32\libs /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32 /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\PCbuild\win32 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\lib\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\um\x86" avformat.lib swscale.lib avutil.lib avdevice.lib avcodec.lib avfilter.lib swresample.lib /EXPORT:PyInit_buffer build\temp.win32-3.8\Release\src\av\buffer.obj /OUT:build\lib.win32-3.8\av\buffer.cp38-win32.pyd /IMPLIB:build\temp.win32-3.8\Release\src\av\buffer.cp38-win32.lib /OPT:NOREF LINK : fatal error LNK1181: cannot open input file 'avformat.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x86\link.exe' failed with exit status 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 Building wheel for biplist (setup.py) ... done Created wheel for biplist: filename=biplist-1.0.3-py3-none-any.whl size=11112 sha256=a4d729333821d5ace3ee4c24ffe167c89577dbef381a6041c7293b64cce1aa26 Stored in directory: c:\users\blake\appdata\local\pip\cache\wheels\46\2c\cd\430837291daf5c95cad74ffd141ad4b379cfc73d41f9da8952 Building wheel for hexdump (setup.py) ... done Created wheel for hexdump: filename=hexdump-3.3-py3-none-any.whl size=8953 sha256=eb3e967da622f65ff533fc51be596e930b06469c9bb06c24b68551336e69d871 Stored in directory: c:\users\blake\appdata\local\pip\cache\wheels\e7\e9\2c\acade4155d5e4d629d483bba20858447956413642cd0e2558d Building wheel for hkdf (setup.py) ... done Created wheel for hkdf: filename=hkdf-0.0.3-py3-none-any.whl size=3766 sha256=8cc68f2f386db1e1fd70b6408efbabbfa7d33cdcfd5544bc864f3cf10a73e112 Stored in directory: c:\users\blake\appdata\local\pip\cache\wheels\75\ce\64\89357f6d149a2462c21e9fcd5ebf6ef7102c52433932899a65 Successfully built biplist hexdump hkdf Failed to build av Installing collected packages: netifaces, ifaddr, hkdf, hexdump, biplist, av, zeroconf, urllib3, six, pycryptodome, pycparser, idna, charset-normalizer, certifi, srptools, requests, cffi, cryptography Running setup.py install for av ... error error: subprocess-exited-with-error
× Running setup.py install for av did not run successfully. │ exit code: 1 ╰─> [38 lines of output] running install running build running build_py creating build creating build\lib.win32-3.8 creating build\lib.win32-3.8\av copying av\datasets.py -> build\lib.win32-3.8\av copying av\deprecation.py -> build\lib.win32-3.8\av copying av__init.py -> build\lib.win32-3.8\av copying av\main.py -> build\lib.win32-3.8\av creating build\lib.win32-3.8\av\audio copying av\audio\init.py -> build\lib.win32-3.8\av\audio creating build\lib.win32-3.8\av\codec copying av\codec\init.py -> build\lib.win32-3.8\av\codec creating build\lib.win32-3.8\av\container copying av\container\init.py -> build\lib.win32-3.8\av\container creating build\lib.win32-3.8\av\data copying av\data\init.py -> build\lib.win32-3.8\av\data creating build\lib.win32-3.8\av\filter copying av\filter\init.py -> build\lib.win32-3.8\av\filter creating build\lib.win32-3.8\av\sidedata copying av\sidedata\init.py -> build\lib.win32-3.8\av\sidedata creating build\lib.win32-3.8\av\subtitles copying av\subtitles\init.py -> build\lib.win32-3.8\av\subtitles creating build\lib.win32-3.8\av\video copying av\video\init__.py -> build\lib.win32-3.8\av\video running build_ext running config writing build\temp.win32-3.8\Release\include\pyav\config.h running cythonize building 'av.buffer' extension creating build\temp.win32-3.8\Release\src creating build\temp.win32-3.8\Release\src\av C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\blake\appdata\local\programs\python\python38-32\include -Ibuild\temp.win32-3.8\Release\include -IC:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\include -Iinclude -IC:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\include -Ic:\users\blake\appdata\local\programs\python\python38-32\include -Ic:\users\blake\appdata\local\programs\python\python38-32\include -Ibuild\temp.win32-3.8\Release\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /Tcsrc\av\buffer.c /Fobuild\temp.win32-3.8\Release\src\av\buffer.obj buffer.c C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x86\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\libs /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32\libs /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32 /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\PCbuild\win32 /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\libs /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32\libs /LIBPATH:c:\users\blake\appdata\local\programs\python\python38-32 /LIBPATH:C:\Users\blake\Documents\GitHub\airplay2-receiver\ap2env\PCbuild\win32 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\lib\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\um\x86" avfilter.lib avformat.lib swscale.lib avdevice.lib avutil.lib avcodec.lib swresample.lib /EXPORT:PyInit_buffer build\temp.win32-3.8\Release\src\av\buffer.obj /OUT:build\lib.win32-3.8\av\buffer.cp38-win32.pyd /IMPLIB:build\temp.win32-3.8\Release\src\av\buffer.cp38-win32.lib /OPT:NOREF LINK : fatal error LNK1181: cannot open input file 'avfilter.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x86\link.exe' failed with exit status 1181 [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. ╰─> av
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
(ap2env) C:\Users\blake\Documents\GitHub\airplay2-receiver>
Additional information
No response