Install V7 production error


I’am trying to install frappe and erpnext in production mode
by executing
sudo python --production

I got this error
Traceback (most recent call last):
File “”, line 342, in
File “”, line 98, in install_bench
run_playbook(‘develop/create_user.yml’, extra_vars=extra_vars)
File “”, line 292, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/”, line 535, in check_call
retcode = call(*popenargs, **kwargs)
File “/usr/lib/python2.7/”, line 522, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.7/”, line 710, in init
errread, errwrite)
File “/usr/lib/python2.7/”, line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied

any help ?


What OS and version did you install it?

Ubuntu 15.10 (GNU/Linux 4.2.0-27-generic x86_64)

Does your user that you’re running the script from have sudo rights?

Actually i was on root

Then you should specify a user in the installer.

python --production --user frappe

This will create a new user named “frappe” and setup everything in frappe.

the same problem
I had frappe production previously but I removed it and deleted frappe user
then this problem occur

I’ve tried on Ubuntu 16 and the same error
It seems generic problem

I’m not getting this issue. Are you doing something before installing this script?

problem solved, memory is not enough I’ve created swap file