Getting Instalation error on installing erpnext 4

I logged in from root account.
After that I had created a new user
after creating the user I had opened 'home/newuser' directory
and in that I had used 'git clone https://github.com/frappe/erpnext-bench'
But on installing erpnext I am getting
`subprocess.CalledProcessError: Command '/home/erpvertax/erpnext-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1`

The below is my terminal code
ro...@vertaxf4:/home/erpvertax/erpnext-bench# ./scripts/install.sh single vertaxwebtechnology erpvertax
New python executable in env/bin/python2.7
Not overwriting existing python script env/bin/python (you must use env/bin/python2.7)
Installing setuptools, pip...done.
Error: Obtaining file:///home/erpvertax/erpnext-bench/apps/frappe
  Running setup.py (path:/home/erpvertax/erpnext-bench/apps/frappe/setup.py) egg_info for package from file:///home/erpvertax/erpnext-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.0-beta)
Downloading/unpacking cssmin (from frappe==4.0.0-beta)
  Downloading cssmin-0.2.0.tar.gz
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/dropbox/setup.py) egg_info for package dropbox
   
Downloading/unpacking gunicorn (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/httplib2/setup.py) egg_info for package httplib2
   
Downloading/unpacking jinja2 (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/markdown2/setup.py) egg_info for package markdown2
   
Downloading/unpacking markupsafe (from frappe==4.0.0-beta)
  Downloading MarkupSafe-0.21.tar.gz
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/markupsafe/setup.py) egg_info for package markupsafe
   
Downloading/unpacking mysql-python (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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/erpvertax/erpnext-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/erpvertax/erpnext-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/erpvertax/erpnext-bench/env/build/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 {}/'.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/erpvertax/erpnext-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1


The pip.log file is attached with the doc
I am trying to install erpnext on my machine for previous 2 weeks but every time something went wrong and nothing happens .
I have successfully done it by installing it from my root account.
But i was unable to start the production and deployment because it was installed on the root.
Please help me i want to install erpnext and run production and deployment on my machine.
After that i also want to try it on server.



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/5bc00650-d39b-4d7d-be5b-05fa6af35d53%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
All i know is
/home/erpnextvertax/erpnext-bench/env/bin/pip install -e frappe/
is generating error.
frappe is present in the folder but i dont know why it is not taking path to frappe
Is their any other way to provide path
or to check why it is not taking that path


On Wednesday, April 23, 2014 5:29:44 PM UTC+5:30, keshav vats wrote:
I logged in from root account.
After that I had created a new user
after creating the user I had opened 'home/newuser' directory
and in that I had used 'git clone https://github.com/frappe/erpnext-bench'
But on installing erpnext I am getting
`subprocess.CalledProcessError: Command '/home/erpvertax/erpnext-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1`

The below is my terminal code
ro...@vertaxf4:/home/erpvertax/erpnext-bench# ./scripts/install.sh single vertaxwebtechnology erpvertax
New python executable in env/bin/python2.7
Not overwriting existing python script env/bin/python (you must use env/bin/python2.7)
Installing setuptools, pip...done.
Error: Obtaining file:///home/erpvertax/erpnext-bench/apps/frappe
  Running setup.py (path:/home/erpvertax/erpnext-bench/apps/frappe/setup.py) egg_info for package from file:///home/erpvertax/erpnext-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.0-beta)
Downloading/unpacking cssmin (from frappe==4.0.0-beta)
  Downloading cssmin-0.2.0.tar.gz
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/dropbox/setup.py) egg_info for package dropbox
   
Downloading/unpacking gunicorn (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/httplib2/setup.py) egg_info for package httplib2
   
Downloading/unpacking jinja2 (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/markdown2/setup.py) egg_info for package markdown2
   
Downloading/unpacking markupsafe (from frappe==4.0.0-beta)
  Downloading MarkupSafe-0.21.tar.gz
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/markupsafe/setup.py) egg_info for package markupsafe
   
Downloading/unpacking mysql-python (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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/erpvertax/erpnext-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/erpvertax/erpnext-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/erpvertax/erpnext-bench/env/build/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 {}/'.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/erpvertax/erpnext-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1


The pip.log file is attached with the doc
I am trying to install erpnext on my machine for previous 2 weeks but every time something went wrong and nothing happens .
I have successfully done it by installing it from my root account.
But i was unable to start the production and deployment because it was installed on the root.
Please help me i want to install erpnext and run production and deployment on my machine.
After that i also want to try it on server.



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/1edf43ab-c902-41db-911e-8c3641f62400%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
I was wrong it was maria db error got it resolved by ruuning `sudo apt-get install libmariadbclient-dev`

On Wednesday, April 23, 2014 5:29:44 PM UTC+5:30, keshav vats wrote:
I logged in from root account.
After that I had created a new user
after creating the user I had opened 'home/newuser' directory
and in that I had used 'git clone https://github.com/frappe/erpnext-bench'
But on installing erpnext I am getting
`subprocess.CalledProcessError: Command '/home/erpvertax/erpnext-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1`

The below is my terminal code
ro...@vertaxf4:/home/erpvertax/erpnext-bench# ./scripts/install.sh single vertaxwebtechnology erpvertax
New python executable in env/bin/python2.7
Not overwriting existing python script env/bin/python (you must use env/bin/python2.7)
Installing setuptools, pip...done.
Error: Obtaining file:///home/erpvertax/erpnext-bench/apps/frappe
  Running setup.py (path:/home/erpvertax/erpnext-bench/apps/frappe/setup.py) egg_info for package from file:///home/erpvertax/erpnext-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.0-beta)
Downloading/unpacking cssmin (from frappe==4.0.0-beta)
  Downloading cssmin-0.2.0.tar.gz
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/dropbox/setup.py) egg_info for package dropbox
   
Downloading/unpacking gunicorn (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/httplib2/setup.py) egg_info for package httplib2
   
Downloading/unpacking jinja2 (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/markdown2/setup.py) egg_info for package markdown2
   
Downloading/unpacking markupsafe (from frappe==4.0.0-beta)
  Downloading MarkupSafe-0.21.tar.gz
  Running setup.py (path:/home/erpvertax/erpnext-bench/env/build/markupsafe/setup.py) egg_info for package markupsafe
   
Downloading/unpacking mysql-python (from frappe==4.0.0-beta)
  Running setup.py (path:/home/erpvertax/erpnext-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/erpvertax/erpnext-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/erpvertax/erpnext-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/erpvertax/erpnext-bench/env/build/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 {}/'.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/erpvertax/erpnext-bench/env/bin/pip install -e frappe/' returned non-zero exit status 1


The pip.log file is attached with the doc
I am trying to install erpnext on my machine for previous 2 weeks but every time something went wrong and nothing happens .
I have successfully done it by installing it from my root account.
But i was unable to start the production and deployment because it was installed on the root.
Please help me i want to install erpnext and run production and deployment on my machine.
After that i also want to try it on server.



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/19a459a0-4e90-4a9f-b794-a9355b39b4cc%40googlegroups.com.

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