Cant Install, Getting this error

157 views
Skip to first unread message

Muhammad Asim Baloch

unread,
Jun 5, 2014, 4:15:24 PM6/5/14
to erpnext-u...@googlegroups.com
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

Rushabh Mehta

unread,
Jun 5, 2014, 11:27:44 PM6/5/14
to erpnext-u...@googlegroups.com
I think you need to install mysql-python


--
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-fo...@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.

Muhammad Asim Baloch

unread,
Jun 6, 2014, 3:58:16 AM6/6/14
to erpnext-u...@googlegroups.com
Mysql Python is installed see

[root@erp ~]# yum install MySQL-python
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * 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

Muhammad Asim Baloch

unread,
Jun 6, 2014, 9:48:27 AM6/6/14
to erpnext-u...@googlegroups.com
ISSUE RESOLVED THANKS ALOT
Reply all
Reply to author
Forward
0 new messages