简体   繁体   中英

python 2.7 windows 7 installing mysqllib mingw32

setup.py install build --compiler=mingw32

gcc: error /Z1: No such file or directory

error: command 'gcc' failed with exit status 1

Any suggestions? Thanks!

After installing mingw32 compiler you'll need to set the PATH Windows environment variable to include the directory of the mingw/bin so it can find the gcc executable. Note that you'll have to open a new cmd window to pick up the new PATH setting.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM