Successfully solved the problem LINK : fatal error LNK1181: cannot open input file "m.lib" error: command 'D:\\Program Files\\Microsoft Visu

Successfully solved the problem LINK : fatal error LNK1181: cannot open input file "m.lib" error: command 'D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\ 14.35.32215\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181

Table of contents

Solve the problem

Solutions

Solution


Solve the problem

LINK : fatal error LNK1181: cannot open input file "m.lib" error: command 'D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215 \\bin\\HostX86\\x64\\link.exe' failed with exit code 1181

Solutions

linking: fatal error LNK1181:
error: command link.exe' failed with exit code 1181

Solution

Comment out or delete the following content of the setup.py file

      libraries=["m"],

re-use installation

python setup.py install

 

Guess you like

Origin blog.csdn.net/qq_41185868/article/details/130164377