Installation failed

Hi

I have to install frappe on Xubuntu 12.10

For that i have used following command
 ./scripts/install.sh single test_erp test_erp

and got an Error :-


Error: Obtaining file:///home/gangadhar/Documents/erp_frappe/frappe-bench/apps/frappe
  Running setup.py (path:/home/gangadhar/Documents/erp_frappe/frappe-bench/apps/frappe/setup.py) egg_info for package from file:///home/gangadhar/Documents/erp_frappe/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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/cssmin/setup.py) egg_info for package 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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/dropbox/setup.py) egg_info for package dropbox
   
Downloading/unpacking gunicorn (from frappe==4.0.1)
  Running setup.py (path:/home/gangadhar/Documents/erp_frappe/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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/httplib2/setup.py) egg_info for package httplib2
   
Downloading/unpacking jinja2 (from frappe==4.0.1)
  Running setup.py (path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/jinja2/setup.py) egg_info for package jinja2
   
    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under directory 'docs/_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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/markdown2/setup.py) egg_info for package markdown2
   
Downloading/unpacking markupsafe (from frappe==4.0.1)
  Downloading MarkupSafe-0.23.tar.gz
  Running setup.py (path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/markupsafe/setup.py) egg_info for package markupsafe
   
Downloading/unpacking mysql-python (from frappe==4.0.1)
  Running setup.py (path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python/setup.py) egg_info for package mysql-python
    sh: 1: mysql_config: not found
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/gangadhar/Documents/erp_frappe/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: 1: mysql_config: not found

Traceback (most recent call last):

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

  File "/home/gangadhar/Documents/erp_frappe/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 /home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python
Storing debug log for failure in /tmp/tmp_VzDAk

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 {}/'.format(app['name'])]), shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '/home/gangadhar/Documents/erp_frappe/frappe-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1

Regards
Rohit




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

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

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/f3647d06-6578-447d-8376-0f0be7645c4c%40googlegroups.com.

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

https://www.google.co.in/search?q=EnvironmentError:+mysql_config+not+found&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&gfe_rd=cr&ei=7v6FU9zGHMXN8geTrYEw#q=EnvironmentError:+mysql_config+not+found+++“mariadb”&rls=org.mozilla:en-US:official

On Wed, May 28, 2014 at 8:50 PM, Rohit Waghchaure
ro...@indictranstech.com wrote:

Hi

I have to install frappe on Xubuntu 12.10

For that i have used following command
./scripts/install.sh single test_erp test_erp

and got an Error :-

Error: Obtaining
file:///home/gangadhar/Documents/erp_frappe/frappe-bench/apps/frappe
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/apps/frappe/setup.py)
egg_info for package from
file:///home/gangadhar/Documents/erp_frappe/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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/cssmin/setup.py)
egg_info for package 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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/dropbox/setup.py)
egg_info for package dropbox

Downloading/unpacking gunicorn (from frappe==4.0.1)
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/httplib2/setup.py)
egg_info for package httplib2

Downloading/unpacking jinja2 (from frappe==4.0.1)
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/jinja2/setup.py)
egg_info for package jinja2

warning: no files found matching '*' under directory 'custom_fixers'
warning: no previously-included files matching '*' found under directory

‘docs/_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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/markdown2/setup.py)
egg_info for package markdown2

Downloading/unpacking markupsafe (from frappe==4.0.1)
Downloading MarkupSafe-0.23.tar.gz
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/markupsafe/setup.py)
egg_info for package markupsafe

Downloading/unpacking mysql-python (from frappe==4.0.1)
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python/setup.py)
egg_info for package mysql-python
sh: 1: mysql_config: not found
Traceback (most recent call last):
File “”, line 17, in
File
“/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python/setup.py”,
line 17, in
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: 1: mysql_config: not found

Traceback (most recent call last):

File “”, line 17, in

File
“/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python/setup.py”,
line 17, in

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
/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python
Storing debug log for failure in /tmp/tmp_VzDAk

Traceback (most recent call last):
File “./scripts/virtualenv.py”, line 2365, in
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
{}/’.format(app[‘name’])]), shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 544, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command
‘/home/gangadhar/Documents/erp_frappe/frappe-bench/env/bin/pip install -e
frappe/’ returned non-zero exit status 1

Regards
Rohit


Note:

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much
    information as you can. Please see it from the point of view of the person
    receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do
    not send images as attachments. Links are good. Same goes for any file you
    are going to send.

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/f3647d06-6578-447d-8376-0f0be7645c4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext

search the error with “mariadb”.

On Wed, May 28, 2014 at 8:54 PM, Pratik Vyas pd...@gmail.com wrote:

EnvironmentError: mysql_config not found - Google Search

On Wed, May 28, 2014 at 8:50 PM, Rohit Waghchaure
ro...@indictranstech.com wrote:

Hi

I have to install frappe on Xubuntu 12.10

For that i have used following command
./scripts/install.sh single test_erp test_erp

and got an Error :-

Error: Obtaining
file:///home/gangadhar/Documents/erp_frappe/frappe-bench/apps/frappe
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/apps/frappe/setup.py)
egg_info for package from
file:///home/gangadhar/Documents/erp_frappe/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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/cssmin/setup.py)
egg_info for package 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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/dropbox/setup.py)
egg_info for package dropbox

Downloading/unpacking gunicorn (from frappe==4.0.1)
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/httplib2/setup.py)
egg_info for package httplib2

Downloading/unpacking jinja2 (from frappe==4.0.1)
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/jinja2/setup.py)
egg_info for package jinja2

warning: no files found matching '*' under directory 'custom_fixers'
warning: no previously-included files matching '*' found under directory

‘docs/_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:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/markdown2/setup.py)
egg_info for package markdown2

Downloading/unpacking markupsafe (from frappe==4.0.1)
Downloading MarkupSafe-0.23.tar.gz
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/markupsafe/setup.py)
egg_info for package markupsafe

Downloading/unpacking mysql-python (from frappe==4.0.1)
Running setup.py
(path:/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python/setup.py)
egg_info for package mysql-python
sh: 1: mysql_config: not found
Traceback (most recent call last):
File “”, line 17, in
File
“/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python/setup.py”,
line 17, in
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: 1: mysql_config: not found

Traceback (most recent call last):

File “”, line 17, in

File
“/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python/setup.py”,
line 17, in

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
/home/gangadhar/Documents/erp_frappe/frappe-bench/env/build/mysql-python
Storing debug log for failure in /tmp/tmp_VzDAk

Traceback (most recent call last):
File “./scripts/virtualenv.py”, line 2365, in
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
{}/’.format(app[‘name’])]), shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 544, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command
‘/home/gangadhar/Documents/erp_frappe/frappe-bench/env/bin/pip install -e
frappe/’ returned non-zero exit status 1

Regards
Rohit


Note:

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much
    information as you can. Please see it from the point of view of the person
    receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do
    not send images as attachments. Links are good. Same goes for any file you
    are going to send.

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/erpnext-developer-forum/f3647d06-6578-447d-8376-0f0be7645c4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Pratik
erpnext


Pratik
erpnext