Problem description :
Xiaobai is one , Before using sublime To run the python Program , Later, it was configured MinGW The environment can be compiled C++ Program , Run later Python The following error occurred after the program :
F:/MinGW/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/8.1.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe:D:\codepractice\fourier.py: file format not recognized; treating as linker script
F:/MinGW/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/8.1.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe:D:\codepractice\fourier.py:2: syntax error
collect2.exe: error: ld returned 1 exit status
terms of settlement :
Tools->Build System->python
Then it's all right