Installation steps for frappe and erpnext?

Hi,
Anyone to give the clear installation step for frappe framework in ubuntu 12.04LTS.
thanks…

All you need to do first download bench tool from GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps here you will also find all step and troubleshooting help.

Feel free to post any specific error with log in separate thread on this discussion forum if incase you land into any trouble.

@yashodhan
ikhlas@ikhlas:~$ bench init frappe-bench && cd frappe-bench
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2707, in
working_set.require(requires)
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 686, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: honcho

How to fix these error in fresh installation
Thanks

Hi, follow this step work 100%

http://www.dalescott.net/2014/11/20/install-erpnext-on-bare-metal-ubuntu/

@Mohamed_Sajid

Go to frappe-bench directory, Do as follows:

$ cd ~/mohamed/frappe-bench
$ source ./env/bin/activate
$ pip install --upgrade -r ~/mohamed/frappe-bench/apps/requirements.txt

It seems your bench isnt installed correctly with all required software dependencies.
post your steps and error log, issue still persists.

2 Likes

ikhlas@ikhlas:~/mohamed/frappe-bench$ source ./env/bin/activate
(env) ikhlas@ikhlas:~/mohamed/frappe-bench$ pip install -r requirements.txt
Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt’
(env) ikhlas@ikhlas:~/mohamed/frappe-bench$

sunrise@sunrise:~$ sudo bash setup_frappe.sh
Installing for Ubuntu precise x86
In case you encounter an error, you can post on https://discuss.frappe.io

Adding ubuntu mariadb repo
Installing packages for Ubuntu. This might take time…
Installing wkhtmltopdf

  • Stopping MariaDB database server mysqld [ OK ]
  • Starting MariaDB database server mysqld [ OK ]
  • Checking for corrupt, not cleanly closed and upgrade needing tables.
    Adding frappe user
    Installing frappe-bench
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 5, in
    from pkg_resources import load_entry_point
    File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2707, in
    working_set.require(requires)
    File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 686, in require
    needed = self.resolve(parse_requirements(requirements))
    File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 584, in resolve
    raise DistributionNotFound(req)
    pkg_resources.DistributionNotFound: honcho
    sunrise@sunrise:~$

@Mohamed_Sajid

$ cd frappe-bench && ./env/bin/pip install --upgrade honcho

if honcho is already installed then you will need to find the package and create a symlink to bench directory to fix this issue.

Post output of following:

$ cat ~/mohamed/frappe-bench/apps/requirements.txt

NOTE:
One more thing, your server seems to be running 32 bit version, some libraries may give you issues installing. So stick to 64 bit version of Ubuntu 14.04 LTS which is most widely tested and works well.

@yashodhan thanks…frappe and erpnext is installed successfully in latest version…But i hav backup of erp v4.5 (.sql)…but now i want to restore in latest version…How to do that restore in latest version installation
thanks

Follow:

Note: Please open new topic if no help if found on the forum.