下面是我的报错信息
ERROR: Command errored out with exit status 1:
command: 'C:\Users\22716\miniconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\22716\\AppData\\Local\\Temp\\pip-install-a6re06fk\\mmcv-full_5d63597f22c84eeba310466c9a422633\\setup.py'"'"'; __file__='"'"'C:\\Users\\22716\\AppData\\Local\\Temp\\pip-install-a6re06fk\\mmcv-full_5d63597f22c84eeba310466c9a422633\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\22716\AppData\Local\Temp\pip-wheel-jr_s8zc0'
cwd: C:\Users\22716\AppData\Local\Temp\pip-install-a6re06fk\mmcv-full_5d63597f22c84eeba310466c9a422633\
error: command 'D:\\vs\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\link.exe' failed with exit status 1181
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\22716\miniconda3\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
return stream.closed
ValueError: underlying buffer has been detached
----------------------------------------
ERROR: Failed building wheel for mmcv-full
Running setup.py clean for mmcv-full
Failed to build mmcv-full
Installing collected packages: mmcv-full
Running setup.py install for mmcv-full ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\22716\miniconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\22716\\AppData\\Local\\Temp\\pip-install-a6re06fk\\mmcv-full_5d63597f22c84eeba310466c9a422633\\setup.py'"'"'; __file__='"'"'C:\\Users\\22716\\AppData\\Local\\Temp\\pip-install-a6re06fk\\mmcv-full_5d63597f22c84eeba310466c9a422633\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\22716\AppData\Local\Temp\pip-record-j59f2rjb\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\22716\miniconda3\Include\mmcv-full'
cwd: C:\Users\22716\AppData\Local\Temp\pip-install-a6re06fk\mmcv-full_5d63597f22c84eeba310466c9a422633\
LINK : fatal error LNK1181: ????????"C:\Users\22716\AppData\Local\Temp\pip-install-a6re06fk\mmcv-full_5d63597f22c84eeba310466c9a422633\build\temp.win-amd64-3.8\Release\.\mmcv\ops\csrc\pytorch\active_rotated_filter.obj"
error: command 'D:\\vs\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\link.exe' failed with exit status 1181
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\22716\miniconda3\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
return stream.closed
ValueError: underlying buffer has been detached
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\22716\miniconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\22716\\AppData\\Local\\Temp\\pip-install-a6re06fk\\mmcv-full_5d63597f22c84eeba310466c9a422633\\setup.py'"'"'; __file__='"'"'C:\\Users\\22716\\AppData\\Local\\Temp\\pip-install-a6re06fk\\mmcv-full_5d63597f22c84eeba310466c9a422633\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\22716\AppData\Local\Temp\pip-record-j59f2rjb\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\22716\miniconda3\Include\mmcv-full' Check the logs for full command output.
结局了吗~
换个稳定点的网络环境,比如用有线网代替无线网,或用手机开热点。