When i run this command : sudo easy_install mysql-python it shows me error!


Searching for mysql-python Reading http://pypi.python.org/simple/mysql-python/ Reading http://sourceforge.net/projects/mysql-python/ Reading http://sourceforge.net/projects/mysql-python Best match: MySQL-python 1.2.3 Downloading http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz Processing MySQL-python-1.2.3.tar.gz Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-GxC4mM/MySQL-python-1.2.3/egg-dist-tmp-A9r3_T sh: mysql_config: not found Traceback (most recent call last): File "/usr/bin/easy_install", line 9, in <module> load_entry_point('distribute==0.6.10', 'console_scripts', 'easy_install')() File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1760, in main with_ei_usage(lambda: File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1741, in with_ei_usage return f() File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 1764, in <lambda> distclass=DistributionWithoutHelpCommands, **kw File "/usr/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 254, in run self.easy_install(spec, not self.no_deps) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 489, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 519, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 698, in install_eggs return self.build_and_install(setup_script, setup_base) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 975, in build_and_install self.run_setup(setup_script, setup_base, args) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 964, in run_setup run_setup(setup_script, args) File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 29, in run_setup lambda: execfile( File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 70, in run return func() File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line 31, in <lambda> {'file':setup_script, 'name':'main'} File "setup.py", line 15, in <module> File "/tmp/easy_install-GxC4mM/MySQL-python-1.2.3/setup_posix.py", line 43, in get_config File "/tmp/easy_install-GxC4mM/MySQL-python-1.2.3/setup_posix.py", line 24, in mysql_config EnvironmentError: mysql_config not found

Used Ubuntu 10.04 BURSTNET VPS PLAN2! Emergency please answer asap!

asked 11 Dec '10, 23:20

tharun's gravatar image

accept rate: 0%

closed 15 Dec '10, 21:55

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦

start by looking in the mysql-python or setup_tools support channels, here http://sourceforge.net/projects/mysql-python/support and here http://sourceforge.net/tracker/?group_id=66150&atid=513504. The problem you're having is not directly related with OSQA. You can also try the ubuntu forums.

(12 Dec '10, 00:32) Hernani Cerq... ♦♦

@tharun, please be sure that you post ACTUAL QUESTIONS in this site. "Big Problem!" is most definitely not a question, and it provides no insight as to what your problem is.

(12 Dec '10, 09:32) rickross ♦♦

I now used ubuntu 10.04 x86_64bit Working sweet! :)

(14 Dec '10, 05:58) tharun

The question has been closed for the following reason "Apparently the big problem is fixed." by Hernani Cerqueira 15 Dec '10, 21:55

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 11 Dec '10, 23:20

Seen: 2,104 times

Last updated: 15 Dec '10, 21:55

powered by OSQA