简体   繁体   English

Python 2.7 Windows 7安装mysqllib mingw32

[英]python 2.7 windows 7 installing mysqllib mingw32

setup.py install build --compiler=mingw32 setup.py安装构建--compiler = mingw32

gcc: error /Z1: No such file or directory gcc:错误/ Z1:没有这样的文件或目录

error: command 'gcc' failed with exit status 1 错误:命令“ gcc”失败,退出状态为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. 安装mingw32编译器后,您需要设置PATH Windows环境变量以包含mingw / bin的目录,以便它可以找到gcc可执行文件。 Note that you'll have to open a new cmd window to pick up the new PATH setting. 请注意,您必须打开一个新的cmd窗口才能使用新的PATH设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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