![]() So maybe this is as easy as: How can I install mysql_config for Cygwin?įYI: I have python 2.5.2 and MySQL 5.1.30, running under Cygwin. This is mentioned in the README for MySQLdb, but it doesn’t explain how to either get around it or how to install mysql_config. Unlike most Unix systems and services, Windows does not include a system supported installation of Python. Ignoring all that I don’t mind if you call it LAMP. Just saying it’s missing the Linux part to be called LAMP. Not saying you can’t run Apache, MySQL, and Perl/Python/PHP. Cygwin is not emulation it’s simpler in that tools are cross compiled for the Windows platform. This document aims to give an overview of Windows-specific behaviour you should know about when using Python on Microsoft Windows. Technically won’t be LAMP because it will be missing the L (Linux). Raise EnvironmentError, "%s not found" % mysql_config.pathĮnvironmentError: /usr/local/bin/mysql_config not foundĬlearly I don’t have mysql_config installed, which I guess is the problem. Using Python on Windows Python 3.10.2 documentation. bin/sh: /usr/local/bin/mysql_config: No such file or directoryįile "/home/Ben/python/MySQL-python-1.2.2/setup_posix.py", line 43, in get_configįile "/home/Ben/python/MySQL-python-1.2.2/setup_posix.py", line 24, in mysql_config Unfortunately, when I run python setup.py build, I get the following error: $ python setup.py build pip install pycrypto doesnt work with the following error: (pyramid) C:ProjectsPyramid>pip install pycrypto Collecting pycrypto Downloading https. I’m trying to install MySQLdb for python on Cygwin.
0 Comments
Leave a Reply. |