Hi Experts,
Im trying to add another site and app to my server - self hosted on digital ocean. I have created the site and app successfully and installed to the site successfully, but when I try to run : bench setup nginx I get this error:
hemant@VarmaniHQ:~/frappe-bench$ bench setup nginx
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==2.0.0’, ‘console_scripts’, ‘bench’)()
File “/home/hemant/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/hemant/bench-repo/bench/commands/setup.py”, line 22, in setup_nginx
make_nginx_conf(bench_path=“.”, yes=yes)
File “/home/hemant/bench-repo/bench/config/nginx.py”, line 26, in make_nginx_conf
“limit_conn_shared_memory”: get_limit_conn_shared_memory(),
File “/home/hemant/bench-repo/bench/config/nginx.py”, line 167, in get_limit_conn_shared_memory
import psutil
ImportError: No module named psutil
Am I missing something - I tried this on my VM and all worked out fine. So not sure what I done wrong.
Im running v7
Anyone with some feedback will be greatly appreciated.
regards
Hemant