tried 3 times and failed all 3 times. first is just following the installation process but didnt work. then i pip install PyAudio and tried again whick also didnt work
INFO: pip is looking at multiple versions of httpx[http2] to determine which version is compatible with other requirements. This could take a while.
Collecting httpx[http2] (from pytchat==0.5.5->-r requirements.txt (line 9))
Using cached httpx-0.23.3-py3-none-any.whl (71 kB)
Using cached httpx-0.23.2-py3-none-any.whl (86 kB)
Using cached httpx-0.23.1-py3-none-any.whl (84 kB)
Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Using cached httpx-0.22.0-py3-none-any.whl (84 kB)
Using cached httpx-0.21.3-py3-none-any.whl (83 kB)
Using cached httpx-0.21.2-py3-none-any.whl (83 kB)
INFO: pip is looking at multiple versions of httpx[http2] to determine which version is compatible with other requirements. This could take a while.
Using cached httpx-0.21.1-py3-none-any.whl (83 kB)
Using cached httpx-0.21.0-py3-none-any.whl (83 kB)
Using cached httpx-0.20.0-py3-none-any.whl (82 kB)
Using cached httpx-0.19.0-py3-none-any.whl (77 kB)
Using cached httpx-0.18.2-py3-none-any.whl (76 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached httpx-0.18.1-py3-none-any.whl (75 kB)
Using cached httpx-0.18.0-py3-none-any.whl (75 kB)
Using cached httpx-0.17.1-py3-none-any.whl (68 kB)
Using cached httpx-0.17.0-py3-none-any.whl (68 kB)
Using cached httpx-0.16.1-py3-none-any.whl (65 kB)
Using cached httpx-0.16.0-py3-none-any.whl (65 kB)
Using cached httpx-0.15.5-py3-none-any.whl (65 kB)
Using cached httpx-0.15.4-py3-none-any.whl (65 kB)
Using cached httpx-0.15.3-py3-none-any.whl (64 kB)
Using cached httpx-0.15.2-py3-none-any.whl (64 kB)
Using cached httpx-0.15.1-py3-none-any.whl (64 kB)
Using cached httpx-0.15.0-py3-none-any.whl (64 kB)
Using cached httpx-0.14.3-py3-none-any.whl (62 kB)
Using cached httpx-0.14.2-py3-none-any.whl (61 kB)
Using cached httpx-0.14.1-py3-none-any.whl (60 kB)
Using cached httpx-0.14.0-py3-none-any.whl (59 kB)
WARNING: httpx 0.13.3 does not provide the extra 'http2'
Building wheels for collected packages: PyAudio
Building wheel for PyAudio (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PyAudio (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
copying src\pyaudio.py -> build\lib.win-amd64-cpython-310
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\src
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 -IC:\Users\pc\AppData\Local\Programs\Python\Python310\include -IC:\Users\pc\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\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/_portaudiomodule.c /Fobuild\temp.win-amd64-cpython-310\Release\src/_portaudiomodule.obj
_portaudiomodule.c
C:\Users\pc\AppData\Local\Programs\Python\Python310\include\pyconfig.h(117): warning C4005: 'MS_WIN64': macro redefinition
C:\Users\pc\AppData\Local\Programs\Python\Python310\include\pyconfig.h(117): note: 'MS_WIN64' previously declared on the command line
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyAudio
Failed to build PyAudio
ERROR: Could not build wheels for PyAudio, which is required to install pyproject.toml-based projects
tried 3 times and failed all 3 times. first is just following the installation process but didnt work. then i pip install PyAudio and tried again whick also didnt work
INFO: pip is looking at multiple versions of httpx[http2] to determine which version is compatible with other requirements. This could take a while.
Collecting httpx[http2] (from pytchat==0.5.5->-r requirements.txt (line 9))
Using cached httpx-0.23.3-py3-none-any.whl (71 kB)
Using cached httpx-0.23.2-py3-none-any.whl (86 kB)
Using cached httpx-0.23.1-py3-none-any.whl (84 kB)
Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Using cached httpx-0.22.0-py3-none-any.whl (84 kB)
Using cached httpx-0.21.3-py3-none-any.whl (83 kB)
Using cached httpx-0.21.2-py3-none-any.whl (83 kB)
INFO: pip is looking at multiple versions of httpx[http2] to determine which version is compatible with other requirements. This could take a while.
Using cached httpx-0.21.1-py3-none-any.whl (83 kB)
Using cached httpx-0.21.0-py3-none-any.whl (83 kB)
Using cached httpx-0.20.0-py3-none-any.whl (82 kB)
Using cached httpx-0.19.0-py3-none-any.whl (77 kB)
Using cached httpx-0.18.2-py3-none-any.whl (76 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Using cached httpx-0.18.1-py3-none-any.whl (75 kB)
Using cached httpx-0.18.0-py3-none-any.whl (75 kB)
Using cached httpx-0.17.1-py3-none-any.whl (68 kB)
Using cached httpx-0.17.0-py3-none-any.whl (68 kB)
Using cached httpx-0.16.1-py3-none-any.whl (65 kB)
Using cached httpx-0.16.0-py3-none-any.whl (65 kB)
Using cached httpx-0.15.5-py3-none-any.whl (65 kB)
Using cached httpx-0.15.4-py3-none-any.whl (65 kB)
Using cached httpx-0.15.3-py3-none-any.whl (64 kB)
Using cached httpx-0.15.2-py3-none-any.whl (64 kB)
Using cached httpx-0.15.1-py3-none-any.whl (64 kB)
Using cached httpx-0.15.0-py3-none-any.whl (64 kB)
Using cached httpx-0.14.3-py3-none-any.whl (62 kB)
Using cached httpx-0.14.2-py3-none-any.whl (61 kB)
Using cached httpx-0.14.1-py3-none-any.whl (60 kB)
Using cached httpx-0.14.0-py3-none-any.whl (59 kB)
WARNING: httpx 0.13.3 does not provide the extra 'http2'
Building wheels for collected packages: PyAudio
Building wheel for PyAudio (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PyAudio (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
copying src\pyaudio.py -> build\lib.win-amd64-cpython-310
running build_ext
building '_portaudio' extension
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\src
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DMS_WIN64=1 -IC:\Users\pc\AppData\Local\Programs\Python\Python310\include -IC:\Users\pc\AppData\Local\Programs\Python\Python310\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\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/_portaudiomodule.c /Fobuild\temp.win-amd64-cpython-310\Release\src/_portaudiomodule.obj
_portaudiomodule.c
C:\Users\pc\AppData\Local\Programs\Python\Python310\include\pyconfig.h(117): warning C4005: 'MS_WIN64': macro redefinition
C:\Users\pc\AppData\Local\Programs\Python\Python310\include\pyconfig.h(117): note: 'MS_WIN64' previously declared on the command line
src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyAudio
Failed to build PyAudio
ERROR: Could not build wheels for PyAudio, which is required to install pyproject.toml-based projects