在新的电脑上安装mmcv按照以前pip 直接安装的时候报错了,解决方法。
安装:pip install mmcv -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple
Collecting mmcv
Downloading http://pypi.doubanio.com/packages/20/24/18a1a702688ba311f57b00ff22e2194488bc36eb90ed80bb0adacfbc066f/mmcv-0.5.9.tar.gz (128 kB)
|████████████████████████████████| 128 kB 6.4 MB/s
ERROR: Command errored out with exit status 1:
command: 'd:\bashsoft\anaconda\envs\torch\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ty\\AppData\\Local\\Temp\\pip-install-xgs29701\\mmcv\\setup.py'"'"'; __file__='"'"'C:\\Users\\ty\\AppData\\Local\\Temp\\pip-install-xgs29701\\mmcv\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);