login about faq

Due to the large amount of spam accounts, we temporarily disabled new user sign ups. To override this, email newuser.lgqa@gmail.com and an admin will determine if you are permitted to join


When i run this command : sudo easy_install mysql-python it shows me error! 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 Dec 11 '10 at 23:34

Tharun's gravatar image

Tharun
958213136

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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


Join Us in the Chat Room

Tags:

×371
×123
×49
×44
×13
×3
×2
×1

Asked: Dec 11 '10 at 23:34

Seen: 719 times

Last updated: Dec 11 '10 at 23:34