无法使用 cuda 11 安装 mmcv
cannot install mmcv with cuda 11
我尝试使用此命令为 cuda 11 安装 mmcv
pip install mmcv
但是得到了
AssertionError: MMCV==1.3.1 is used but incompatible. Please install mmcv>=1.2.4, <=1.3.
我尝试使用 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/
去掉==
周围的空格:
$ pip install mmcv==1.3.0
Collecting mmcv==1.3.0
Downloading mmcv-1.3.0.tar.gz (253 kB)
|████████████████████████████████| 253 kB 3.6 MB/s
我尝试使用此命令为 cuda 11 安装 mmcv
pip install mmcv
但是得到了
AssertionError: MMCV==1.3.1 is used but incompatible. Please install mmcv>=1.2.4, <=1.3.
我尝试使用 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/
去掉==
周围的空格:
$ pip install mmcv==1.3.0
Collecting mmcv==1.3.0
Downloading mmcv-1.3.0.tar.gz (253 kB)
|████████████████████████████████| 253 kB 3.6 MB/s