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
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