troubleshooting Question

MSQL Python

Avatar of tmonteit
tmonteitFlag for Afghanistan asked on
MySQL ServerPython
5 Comments1 Solution702 ViewsLast Modified:
Frustrated newbie here.   I am having diffficulty installing the MySQL-python-1.2.3.tar.gz package.  

When I unpack the package and run python setup.py build, I get an error:


$ python setup.py build
/bin/sh: mysql_config: command not found
Traceback (most recent call last):
  File "setup.py", line 15, in <module>
    metadata, options = get_config()
  File "/cygdrive/c/data/code/django/mysql_python/setup_posix.py", line 43, in g
et_config
    libs = mysql_config("libs_r")
  File "/cygdrive/c/data/code/django/mysql_python/setup_posix.py", line 24, in m
ysql_config
    raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found

Note when I installed mysql, I could only install the 'Essentials' package because the big install failed 1335 cannot find 'product.cab'.

Step-by-step assistance please.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros