所以我想在Windows 7 x64的anaconda中安装要求列表,我有Python 3.8。 当我尝试运行它时,我得到以下信息,该怎么做才能解决此问题? 我试图重新安装python,然后重新安装PyTorch。 但是没有什么能解决问题,我希望这里的人对如何解决问题有一定的了解,其中大部分是填充内容,因为除非我添加更多详细信息,否则该帖子不会让我提交,因为您可能会忽略此部分并不重要。
Building wheels for collected packages: webrtcvad
Building wheel for webrtcvad (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools,
tokenize; sys.argv[0] = '"'"'C:\\Users\\PHOENI~1\\AppData\\Local\\Temp\\pip-ins
tall-swhcru3t\\webrtcvad\\setup.py'"'"'; __file__='"'"'C:\\Users\\PHOENI~1\\AppD
ata\\Local\\Temp\\pip-install-swhcru3t\\webrtcvad\\setup.py'"'"';f=getattr(token
ize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'
\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d
'C:\Users\PHOENI~1\AppData\Local\Temp\pip-wheel-6jpx1y84' --python-tag cp37
cwd: C:\Users\PHOENI~1\AppData\Local\Temp\pip-install-swhcru3t\webrtcvad\
Complete output (19 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying webrtcvad.py -> build\lib.win-amd64-3.7
running build_ext
building '_webrtcvad' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\cbits
creating build\temp.win-amd64-3.7\Release\cbits\webrtc
creating build\temp.win-amd64-3.7\Release\cbits\webrtc\common_audio
creating build\temp.win-amd64-3.7\Release\cbits\webrtc\common_audio\signal_pro
cessing
creating build\temp.win-amd64-3.7\Release\cbits\webrtc\common_audio\vad
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14
.22.27905\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -D_WIN32 -I
cbits -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-IC
:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22
.27905\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Co
mmunity\VC\Tools\MSVC\14.22.27905\include" "-IC:\Program Files (x86)\Windows Kit
s\NETFXSDK\4.7.2\include\um" /Tccbits\pywebrtcvad.c /Fobuild\temp.win-amd64-3.7\
Release\cbits\pywebrtcvad.obj
pywebrtcvad.c
C:\ProgramData\Anaconda3\include\pyconfig.h(59): fatal error C1083: Cannot ope
n include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Commun
ity\\VC\\Tools\\MSVC\\14.22.27905\\bin\\HostX86\\x64\\cl.exe' failed with exit s
tatus 2
----------------------------------------
ERROR: Failed building wheel for webrtcvad
Running setup.py clean for webrtcvad
Failed to build webrtcvad
ERROR: spyder 3.3.6 requires pyqtwebengine<5.13; python_version >= "3", which is
not installed.
ERROR: spyder 3.3.6 has requirement pyqt5<5.13; python_version >= "3", but you'l
l have pyqt5 5.13.2 which is incompatible.
Installing collected packages: webrtcvad, sounddevice, Unidecode, inflect, PyQt5
-sip, PyQt5, dill, multiprocess
Running setup.py install for webrtcvad ... error
ERROR: Command errored out with exit status 1:
command: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptool
s, tokenize; sys.argv[0] = '"'"'C:\\Users\\PHOENI~1\\AppData\\Local\\Temp\\pip-i
nstall-swhcru3t\\webrtcvad\\setup.py'"'"'; __file__='"'"'C:\\Users\\PHOENI~1\\Ap
pData\\Local\\Temp\\pip-install-swhcru3t\\webrtcvad\\setup.py'"'"';f=getattr(tok
enize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'
"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --re
cord 'C:\Users\PHOENI~1\AppData\Local\Temp\pip-record-go9wf2pr\install-record.tx
t' --single-version-externally-managed --compile
cwd: C:\Users\PHOENI~1\AppData\Local\Temp\pip-install-swhcru3t\webrtcva
d\
Complete output (19 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying webrtcvad.py -> build\lib.win-amd64-3.7
running build_ext
building '_webrtcvad' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\cbits
creating build\temp.win-amd64-3.7\Release\cbits\webrtc
creating build\temp.win-amd64-3.7\Release\cbits\webrtc\common_audio
creating build\temp.win-amd64-3.7\Release\cbits\webrtc\common_audio\signal_p
rocessing
creating build\temp.win-amd64-3.7\Release\cbits\webrtc\common_audio\vad
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\
14.22.27905\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -D_WIN32
-Icbits -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include "-
IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.
22.27905\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\
Community\VC\Tools\MSVC\14.22.27905\include" "-IC:\Program Files (x86)\Windows K
its\NETFXSDK\4.7.2\include\um" /Tccbits\pywebrtcvad.c /Fobuild\temp.win-amd64-3.
7\Release\cbits\pywebrtcvad.obj
pywebrtcvad.c
C:\ProgramData\Anaconda3\include\pyconfig.h(59): fatal error C1083: Cannot o
pen include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Comm
unity\\VC\\Tools\\MSVC\\14.22.27905\\bin\\HostX86\\x64\\cl.exe' failed with exit
status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\python.
exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\PHOE
NI~1\\AppData\\Local\\Temp\\pip-install-swhcru3t\\webrtcvad\\setup.py'"'"'; __fi
le__='"'"'C:\\Users\\PHOENI~1\\AppData\\Local\\Temp\\pip-install-swhcru3t\\webrt
cvad\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.r
ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_
_, '"'"'exec'"'"'))' install --record 'C:\Users\PHOENI~1\AppData\Local\Temp\pip-
record-go9wf2pr\install-record.txt' --single-version-externally-managed --compil
e Check the logs for full command output.