Cant Install, Getting this error

I have installed all the dependencies including MARIADB everything is in place , still i am getting this error please help. 


[ro...@erp frappe-bench]# ./scripts/install.sh single [sitename [dbname]]
New python executable in env/bin/python2.7
Also creating executable in env/bin/python
Installing setuptools, pip...done.
remote: Reusing existing pack: 53859, done.
remote: Counting objects: 407, done.
remote: Compressing objects: 100% (389/389), done.
remote: Total 54266 (delta 254), reused 39 (delta 18)
Receiving objects: 100% (54266/54266), 21.83 MiB | 5.15 MiB/s, done.
Resolving deltas: 100% (37922/37922), done.
Error: Obtaining file:///frappe-bench/apps/frappe
  Running setup.py (path:/frappe-bench/apps/frappe/setup.py) egg_info for packag                                                                               e from file:///frappe-bench/apps/frappe

    warning: no files found matching '*.json'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                '*'
Downloading/unpacking chardet (from frappe==4.0.1)
Downloading/unpacking cssmin (from frappe==4.0.1)
  Downloading cssmin-0.2.0.tar.gz
  Running setup.py (path:/frappe-bench/env/build/cssmin/setup.py) egg_info for p                                                                               ackage cssmin

    warning: no previously-included files matching '.DS_Store' found anywhere in                                                                                distribution
Downloading/unpacking dropbox (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/dropbox/setup.py) egg_info for                                                                                package dropbox

Downloading/unpacking gunicorn (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/gunicorn/setup.py) egg_info for                                                                                package gunicorn

    warning: no previously-included files matching '*.pyc' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'tests'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'tests'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'examples'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'examples'
Downloading/unpacking httplib2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/httplib2/setup.py) egg_info for                                                                                package httplib2

Downloading/unpacking jinja2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/jinja2/setup.py) egg_info for p                                                                               ackage jinja2

    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under directory 'do                                                                               cs/_build'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'docs'
Downloading/unpacking markdown2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/markdown2/setup.py) egg_info fo                                                                               r package markdown2

Downloading/unpacking markupsafe (from frappe==4.0.1)
  Downloading MarkupSafe-0.23.tar.gz
  Running setup.py (path:/frappe-bench/env/build/markupsafe/setup.py) egg_info f                                                                               or package markupsafe

Downloading/unpacking mysql-python (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/mysql-python/setup.py) egg_info                                                                                for package mysql-python
    sh: mysql_config: command not found
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/frappe-bench/env/build/mysql-python/setup.py", line 17, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 25, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found
    Complete output from command python setup.py egg_info:
    sh: mysql_config: command not found

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/frappe-bench/env/build/mysql-python/setup.py", line 17, in <module>

    metadata, options = get_config()

  File "setup_posix.py", line 43, in get_config

    libs = mysql_config("libs_r")

  File "setup_posix.py", line 25, in mysql_config

    raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /frappe-bench/env/b                                                                               uild/mysql-python
Storing debug log for failure in /root/.pip/pip.log

Traceback (most recent call last):
  File "./scripts/virtualenv.py", line 2365, in <module>
    main()
  File "./scripts/virtualenv.py", line 829, in main
    after_install(options, home_dir)
  File "./scripts/virtualenv.py", line 2355, in after_install
    subprocess.check_output('/'.join([home_dir, 'bin', 'pip install -e {}/'.form                                                                               at(app['name'])]), shell=True)
  File "/usr/local/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '/frappe-bench/env/bin/pip install -e fra                                                                               ppe/' returned non-zero exit status 1



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/9f38a5a0-1624-4327-bf52-bb30db84339c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

I think you need to install mysql-python


On 06-Jun-2014, at 1:45 am, Muhammad Asim Baloch <i@asimbaloch.com> wrote:

I have installed all the dependencies including MARIADB everything is in place , still i am getting this error please help. 


[ro...@erp frappe-bench]# ./scripts/install.sh single [sitename [dbname]]
New python executable in env/bin/python2.7
Also creating executable in env/bin/python
Installing setuptools, pip...done.
remote: Reusing existing pack: 53859, done.
remote: Counting objects: 407, done.
remote: Compressing objects: 100% (389/389), done.
remote: Total 54266 (delta 254), reused 39 (delta 18)
Receiving objects: 100% (54266/54266), 21.83 MiB | 5.15 MiB/s, done.
Resolving deltas: 100% (37922/37922), done.
  Running setup.py (path:/frappe-bench/apps/frappe/setup.py) egg_info for packag                                                                               e from file:///frappe-bench/apps/frappe

    warning: no files found matching '*.json'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                '*'
Downloading/unpacking chardet (from frappe==4.0.1)
Downloading/unpacking cssmin (from frappe==4.0.1)
  Downloading cssmin-0.2.0.tar.gz
  Running setup.py (path:/frappe-bench/env/build/cssmin/setup.py) egg_info for p                                                                               ackage cssmin

    warning: no previously-included files matching '.DS_Store' found anywhere in                                                                                distribution
Downloading/unpacking dropbox (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/dropbox/setup.py) egg_info for                                                                                package dropbox

Downloading/unpacking gunicorn (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/gunicorn/setup.py) egg_info for                                                                                package gunicorn

    warning: no previously-included files matching '*.pyc' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'tests'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'tests'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'examples'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'examples'
Downloading/unpacking httplib2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/httplib2/setup.py) egg_info for                                                                                package httplib2

Downloading/unpacking jinja2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/jinja2/setup.py) egg_info for p                                                                               ackage jinja2

    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under directory 'do                                                                               cs/_build'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'docs'
Downloading/unpacking markdown2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/markdown2/setup.py) egg_info fo                                                                               r package markdown2

Downloading/unpacking markupsafe (from frappe==4.0.1)
  Downloading MarkupSafe-0.23.tar.gz
  Running setup.py (path:/frappe-bench/env/build/markupsafe/setup.py) egg_info f                                                                               or package markupsafe

Downloading/unpacking mysql-python (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/mysql-python/setup.py) egg_info                                                                                for package mysql-python
    sh: mysql_config: command not found
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/frappe-bench/env/build/mysql-python/setup.py", line 17, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 25, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found
    Complete output from command python setup.py egg_info:
    sh: mysql_config: command not found

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/frappe-bench/env/build/mysql-python/setup.py", line 17, in <module>

    metadata, options = get_config()

  File "setup_posix.py", line 43, in get_config

    libs = mysql_config("libs_r")

  File "setup_posix.py", line 25, in mysql_config

    raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /frappe-bench/env/b                                                                               uild/mysql-python
Storing debug log for failure in /root/.pip/pip.log

Traceback (most recent call last):
  File "./scripts/virtualenv.py", line 2365, in <module>
    main()
  File "./scripts/virtualenv.py", line 829, in main
    after_install(options, home_dir)
  File "./scripts/virtualenv.py", line 2355, in after_install
    subprocess.check_output('/'.join([home_dir, 'bin', 'pip install -e {}/'.form                                                                               at(app['name'])]), shell=True)
  File "/usr/local/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '/frappe-bench/env/bin/pip install -e fra                                                                               ppe/' returned non-zero exit status 1




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/9f38a5a0-1624-4327-bf52-bb30db84339c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/0E4CC3BE-520E-4B59-8224-4AD88CE25957%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

Mysql Python is installed see

[ro...@erp ~]# yum install MySQL-python
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirrors.kernel.org
 * extras: mirrors.kernel.org
 * updates: mirrors.kernel.org
Setting up Install Process
Package MySQL-python-1.2.3-0.3.c1.1.el6.i686 already installed and latest version
Nothing to do


On Friday, 6 June 2014 01:15:24 UTC+5, Muhammad Asim Baloch wrote:
I have installed all the dependencies including MARIADB everything is in place , still i am getting this error please help. 


[ro...@erp frappe-bench]# ./scripts/install.sh single [sitename [dbname]]
New python executable in env/bin/python2.7
Also creating executable in env/bin/python
Installing setuptools, pip...done.
remote: Reusing existing pack: 53859, done.
remote: Counting objects: 407, done.
remote: Compressing objects: 100% (389/389), done.
remote: Total 54266 (delta 254), reused 39 (delta 18)
Receiving objects: 100% (54266/54266), 21.83 MiB | 5.15 MiB/s, done.
Resolving deltas: 100% (37922/37922), done.
Error: Obtaining file:///frappe-bench/apps/frappe
  Running setup.py (path:/frappe-bench/apps/frappe/setup.py) egg_info for packag                                                                               e from file:///frappe-bench/apps/frappe

    warning: no files found matching '*.json'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                '*'
Downloading/unpacking chardet (from frappe==4.0.1)
Downloading/unpacking cssmin (from frappe==4.0.1)
  Downloading cssmin-0.2.0.tar.gz
  Running setup.py (path:/frappe-bench/env/build/cssmin/setup.py) egg_info for p                                                                               ackage cssmin

    warning: no previously-included files matching '.DS_Store' found anywhere in                                                                                distribution
Downloading/unpacking dropbox (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/dropbox/setup.py) egg_info for                                                                                package dropbox

Downloading/unpacking gunicorn (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/gunicorn/setup.py) egg_info for                                                                                package gunicorn

    warning: no previously-included files matching '*.pyc' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'tests'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'tests'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'examples'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'examples'
Downloading/unpacking httplib2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/httplib2/setup.py) egg_info for                                                                                package httplib2

Downloading/unpacking jinja2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/jinja2/setup.py) egg_info for p                                                                               ackage jinja2

    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under directory 'do                                                                               cs/_build'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory                                                                                'docs'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory                                                                                'docs'
Downloading/unpacking markdown2 (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/markdown2/setup.py) egg_info fo                                                                               r package markdown2

Downloading/unpacking markupsafe (from frappe==4.0.1)
  Downloading MarkupSafe-0.23.tar.gz
  Running setup.py (path:/frappe-bench/env/build/markupsafe/setup.py) egg_info f                                                                               or package markupsafe

Downloading/unpacking mysql-python (from frappe==4.0.1)
  Running setup.py (path:/frappe-bench/env/build/mysql-python/setup.py) egg_info                                                                                for package mysql-python
    sh: mysql_config: command not found
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/frappe-bench/env/build/mysql-python/setup.py", line 17, in <module>
        metadata, options = get_config()
      File "setup_posix.py", line 43, in get_config
        libs = mysql_config("libs_r")
      File "setup_posix.py", line 25, in mysql_config
        raise EnvironmentError("%s not found" % (mysql_config.path,))
    EnvironmentError: mysql_config not found
    Complete output from command python setup.py egg_info:
    sh: mysql_config: command not found

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/frappe-bench/env/build/mysql-python/setup.py", line 17, in <module>

    metadata, options = get_config()

  File "setup_posix.py", line 43, in get_config

    libs = mysql_config("libs_r")

  File "setup_posix.py", line 25, in mysql_config

    raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /frappe-bench/env/b                                                                               uild/mysql-python
Storing debug log for failure in /root/.pip/pip.log

Traceback (most recent call last):
  File "./scripts/virtualenv.py", line 2365, in <module>
    main()
  File "./scripts/virtualenv.py", line 829, in main
    after_install(options, home_dir)
  File "./scripts/virtualenv.py", line 2355, in after_install
    subprocess.check_output('/'.join([home_dir, 'bin', 'pip install -e {}/'.form                                                                               at(app['name'])]), shell=True)
  File "/usr/local/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '/frappe-bench/env/bin/pip install -e fra                                                                               ppe/' returned non-zero exit status 1



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/b314a9ea-4dfd-4896-8d0a-0a7693d92168%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

ISSUE RESOLVED THANKS ALOT



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/c8ff45dd-5229-42a9-92b8-01ae15b45455%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

root@ikhlas3:~# yum install MySQL-python
Setting up Install Process
No package MySQL-python available.
Nothing to do

How to fix this error