You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errors compiling when I install setup.py:
(my environment:
python:3.8 pytorch:1.10 ninja:1.10.2 And I have solved some errors caused by the high version of pytorch)
D:\anaconda3\envs\Wuweb\lib\site-packages\torch\utils\cpp_extension.py:316: UserWarning: Error checking compiler version for
cl: [WinError 2] _系统找不到指定的文件。 ###error1
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'box' extension
creating D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8
creating D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release
Emitting ninja build file D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.10.2
creating D:\hly\NoduleNet\NoduleNet-master\build\box\build\lib.win-amd64-3.8
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\link.exe /nologo /IN
CREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\anaconda3\envs\Wuweb\lib\site-packages\torch\lib /L
IBPATH:D:\anaconda3\envs\Wuweb\libs /LIBPATH:D:\anaconda3\envs\Wuweb\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsof
t Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual S
tudio\2019\Community\VC\Tools\MSVC\14.27.29110\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x6
4" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits
\10\lib\10.0.18362.0\um\x64" c10.lib torch.lib torch_cpu.lib torch_python.lib /EXPORT:PyInit_box D:\hly\NoduleNet\NoduleNet-
master\build\box\build\temp.win-amd64-3.8\Release\box.obj /OUT:build\lib.win-amd64-3.8\box.cp38-win_amd64.pyd /IMPLIB:D:\hly
\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release\box.cp38-win_amd64.lib
LINK : fatal error LNK1181: 无法打开输入文件“D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release\bo
x.obj” ###error2
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX8
6\x64\link.exe' failed with exit status 1181
When I open build \ box \ build \ temp.win-amd64-3.8 \ release , I find that there is no box.obj generated, only build.ninja.
Could you please help me with the problem?many thanks.
The text was updated successfully, but these errors were encountered:
Errors compiling when I install setup.py:
(my environment:
python:3.8 pytorch:1.10 ninja:1.10.2 And I have solved some errors caused by the high version of pytorch)
D:\anaconda3\envs\Wuweb\lib\site-packages\torch\utils\cpp_extension.py:316: UserWarning: Error checking compiler version for
cl: [WinError 2] _系统找不到指定的文件。 ###error1
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'box' extension
creating D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8
creating D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release
Emitting ninja build file D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.10.2
creating D:\hly\NoduleNet\NoduleNet-master\build\box\build\lib.win-amd64-3.8
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\link.exe /nologo /IN
CREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\anaconda3\envs\Wuweb\lib\site-packages\torch\lib /L
IBPATH:D:\anaconda3\envs\Wuweb\libs /LIBPATH:D:\anaconda3\envs\Wuweb\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsof
t Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual S
tudio\2019\Community\VC\Tools\MSVC\14.27.29110\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x6
4" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits
\10\lib\10.0.18362.0\um\x64" c10.lib torch.lib torch_cpu.lib torch_python.lib /EXPORT:PyInit_box D:\hly\NoduleNet\NoduleNet-
master\build\box\build\temp.win-amd64-3.8\Release\box.obj /OUT:build\lib.win-amd64-3.8\box.cp38-win_amd64.pyd /IMPLIB:D:\hly
\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release\box.cp38-win_amd64.lib
LINK : fatal error LNK1181: 无法打开输入文件“D:\hly\NoduleNet\NoduleNet-master\build\box\build\temp.win-amd64-3.8\Release\bo
x.obj” ###error2
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX8
6\x64\link.exe' failed with exit status 1181
When I open build \ box \ build \ temp.win-amd64-3.8 \ release , I find that there is no box.obj generated, only build.ninja.
Could you please help me with the problem?many thanks.
The text was updated successfully, but these errors were encountered: