mmcv icon indicating copy to clipboard operation
mmcv copied to clipboard

[Bug] mmcv-full安装错误

Open dust-removal opened this issue 1 year ago • 3 comments

Prerequisite

  • [X] I have searched Issues and Discussions but cannot get the expected help.
  • [X] The bug has not been fixed in the latest version(https://github.com/open-mmlab/mmcv).

Environment

pytorch==1.6 python==3.7 mmcv-full=1.0.5

Reproduces the problem - code sample

LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\DUST_R~1\AppData\Local\Temp\pip-install-7ws44rhq\mmcv-full_f907f90d9c5d4a5bacf0f0a41fd750f3\build\temp.win-amd64-3.7\Release.\mmcv\video\optflow_warp\flow_warp_module.obj” error: command 'D:\ProgramFile\VisualStudio\2022\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\link.exe' failed with exit status 1181

Reproduces the problem - command or script

pip install mmcv-full=1.0.5

Reproduces the problem - error message

LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\DUST_R~1\AppData\Local\Temp\pip-install-7ws44rhq\mmcv-full_f907f90d9c5d4a5bacf0f0a41fd750f3\build\temp.win-amd64-3.7\Release.\mmcv\video\optflow_warp\flow_warp_module.obj” error: command 'D:\ProgramFile\VisualStudio\2022\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\link.exe' failed with exit status 1181

Additional information

你好 因为项目环境所以要使用1.0.5的mmcv-full 安装过程中我发现无法编译成功,根据报错发现pip安装过程中 需要在C:\Users\DUST_R~1\AppData\Local\Temp\建立一个 pip-install-随机字母数字组合 的文件夹,但这个文件夹并没有被建立,导致无法编译成功 不知道该怎么解决

dust-removal avatar Jul 01 '23 03:07 dust-removal

屏幕截图 2023-07-01 112903

dust-removal avatar Jul 01 '23 03:07 dust-removal

Hi @dust-removal , what is your cuda version?

zhouzaida avatar Jul 03 '23 02:07 zhouzaida

Hi @dust-removal , what is your cuda version? In my system is 12.2. In the conda environment is 10.2 屏幕截图 2023-07-03 111944

dust-removal avatar Jul 03 '23 03:07 dust-removal