我尝试使用此命令为 cuda 11 安装 mmcv
pip install mmcv
Run Code Online (Sandbox Code Playgroud)
但得到了
AssertionError: MMCV==1.3.1 is used but incompatible. Please install mmcv>=1.2.4, <=1.3.
Run Code Online (Sandbox Code Playgroud)
我尝试使用 pip install mmcv == 1.3.0
但得到了
ERROR: Command errored out with exit status 1:
command: /home/user/anaconda3/bin/python -u -c 'import sys, setuptools, tokenized;
sys.argv[0] = '"'"'/tmp/pip-install-zwzedoq9/mmcv-full_b791a0604b534f8b95679eed9cbac9f3
/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zwzedoq9/mmcv-
full_b791a0604b534f8b95679eed9cbac9f3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"',
open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record
/tmp/pip-record-3hdmd7th/install-record.txt --single-version-externally-managed --compile
--install-headers /home/user/anaconda3/include/python3.7m/mmcv-full
cwd: /tmp/pip-install-zwzedoq9/mmcv-full_b791a0604b534f8b95679eed9cbac9f3/
Run Code Online (Sandbox Code Playgroud)