ruuning bulid_ext error: [WinError 2] system can not find the file specified

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

Here Insert Picture Description
Plagued most of the day, finally solved the original problem c compiler

Solution
The reason is compiled and installed python using gcc instead of mingw32 msvc, enter anaconda directory to find Lib, enter find distutils package, find distutils.cfg into the file, you can not create.

The original compiler = mingw32 changed compiler = msvc

Why is this?

MSVC refers to the Microsoft VC compiler
MinGW refers to a Minimalist GNU on Windows acronym. It is a freely available and freely distributable Windows specific header files and import libraries using the GNU toolset collection, allows you to generate native Windows programs on GNU / Linux and Windows platforms without the need for third-party C runtime library.

Reference Hirofumi: Https://Blog.Csdn.Net/qq_30587589/article/details/88853521

Guess you like

Origin blog.csdn.net/kellyroslyn/article/details/92577509