I have installed all the dependencies including MARIADB everything is in place , still i am getting this error please help.
[root@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