-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ModuleNotFoundError: No module named 'health' #358
Comments
@Margishnextbrain tried on a fresh bench and couldn't replicate this issue, |
(base) developer@nextbrain-Latitude-5480:~/Frappe/frappe-bench$ bench --site mysite.local install-app erpnext Installing erpnext... ================================================================================== @akashkrishna619 i am not able to run the bench start. Thanks |
Try to use the below installation steps.
https://github.com/kalungia/How-to-Install-ERPNext-on-Ubuntu-22.04-LTS
… On Dec 23, 2023, at 10:20 PM, Margishnextbrain ***@***.***> wrote:
(base) ***@***.***:~/Frappe/frappe-bench$ bench --site mysite.local install-app erpnext
Installing erpnext...
Updating DocTypes for erpnext : [========================================] 100%
Updating customizations for Address
Updating customizations for Contact
(base) ***@***.***:~/Frappe/frappe-bench$ bench start
01:42:48 system | redis_cache.1 started (pid=1088911)
01:42:48 system | redis_queue.1 started (pid=1088914)
01:42:48 system | socketio.1 started (pid=1088922)
01:42:48 redis_cache.1 | 1088923:C 24 Dec 2023 01:42:48.684 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
01:42:48 redis_cache.1 | 1088923:C 24 Dec 2023 01:42:48.685 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1088923, just started
01:42:48 redis_cache.1 | 1088923:C 24 Dec 2023 01:42:48.685 # Configuration loaded
01:42:48 redis_cache.1 | 1088923:M 24 Dec 2023 01:42:48.686 * Increased maximum number of open files to 10032 (it was originally set to 1024).
01:42:48 redis_cache.1 | 1088923:M 24 Dec 2023 01:42:48.687 # Could not create server TCP listening socket 127.0.0.1:13000: bind: Address already in use
01:42:48 system | redis_cache.1 stopped (rc=1)
01:42:48 redis_queue.1 | 1088921:C 24 Dec 2023 01:42:48.690 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
01:42:48 redis_queue.1 | 1088921:C 24 Dec 2023 01:42:48.691 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1088921, just started
01:42:48 system | web.1 started (pid=1088924)
01:42:48 redis_queue.1 | 1088921:C 24 Dec 2023 01:42:48.691 # Configuration loaded
01:42:48 system | schedule.1 started (pid=1088926)
01:42:48 redis_queue.1 | 1088921:M 24 Dec 2023 01:42:48.692 * Increased maximum number of open files to 10032 (it was originally set to 1024).
01:42:48 redis_queue.1 | 1088921:M 24 Dec 2023 01:42:48.693 # Could not create server TCP listening socket 127.0.0.1:11000: bind: Address already in use
01:42:48 system | redis_queue.1 stopped (rc=1)
01:42:48 system | worker.1 started (pid=1088935)
01:42:48 system | watch.1 started (pid=1088932)
01:42:48 system | sending SIGTERM to web.1 (pid 1088924)
01:42:48 system | sending SIGTERM to socketio.1 (pid 1088922)
01:42:48 system | sending SIGTERM to watch.1 (pid 1088932)
01:42:48 system | sending SIGTERM to schedule.1 (pid 1088926)
01:42:48 system | sending SIGTERM to worker.1 (pid 1088935)
01:42:48 system | schedule.1 stopped (rc=-15)
01:42:48 system | watch.1 stopped (rc=-15)
01:42:48 system | web.1 stopped (rc=-15)
01:42:48 system | socketio.1 stopped (rc=-15)
01:42:48 system | worker.1 stopped (rc=-15)
==================================================================================
(base) ***@***.***:~/Frappe/frappe-bench$ bench start
01:45:18 system | redis_cache.1 started (pid=1251671)
01:45:18 system | redis_queue.1 started (pid=1251674)
01:45:18 redis_cache.1 | 1251678:C 24 Dec 2023 01:45:18.611 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
01:45:18 system | socketio.1 started (pid=1251683)
01:45:18 redis_cache.1 | 1251678:C 24 Dec 2023 01:45:18.614 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1251678, just started
01:45:18 redis_cache.1 | 1251678:C 24 Dec 2023 01:45:18.614 # Configuration loaded
01:45:18 redis_cache.1 | 1251678:M 24 Dec 2023 01:45:18.615 * Increased maximum number of open files to 10032 (it was originally set to 1024).
01:45:18 redis_cache.1 | 1251678:M 24 Dec 2023 01:45:18.616 # Could not create server TCP listening socket 127.0.0.1:13000: bind: Address already in use
01:45:18 redis_queue.1 | 1251685:C 24 Dec 2023 01:45:18.617 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
01:45:18 system | redis_cache.1 stopped (rc=1)
01:45:18 redis_queue.1 | 1251685:C 24 Dec 2023 01:45:18.618 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1251685, just started
01:45:18 system | web.1 started (pid=1251682)
01:45:18 redis_queue.1 | 1251685:C 24 Dec 2023 01:45:18.618 # Configuration loaded
01:45:18 system | worker.1 started (pid=1251686)
01:45:18 redis_queue.1 | 1251685:M 24 Dec 2023 01:45:18.620 * Increased maximum number of open files to 10032 (it was originally set to 1024).
01:45:18 redis_queue.1 | 1251685:M 24 Dec 2023 01:45:18.620 # Could not create server TCP listening socket 127.0.0.1:11000: bind: Address already in use
01:45:18 system | redis_queue.1 stopped (rc=1)
01:45:18 system | watch.1 started (pid=1251687)
01:45:18 system | schedule.1 started (pid=1251696)
01:45:18 system | sending SIGTERM to web.1 (pid 1251682)
01:45:18 system | sending SIGTERM to socketio.1 (pid 1251683)
01:45:18 system | sending SIGTERM to watch.1 (pid 1251687)
01:45:18 system | sending SIGTERM to schedule.1 (pid 1251696)
01:45:18 system | sending SIGTERM to worker.1 (pid 1251686)
01:45:18 system | worker.1 stopped (rc=-15)
01:45:18 system | web.1 stopped (rc=-15)
01:45:18 system | socketio.1 stopped (rc=-15)
01:45:18 system | schedule.1 stopped (rc=-15)
01:45:18 system | watch.1 stopped (rc=-15)
@akashkrishna619 i am not able to run the bench start.
i am following below document
https://github.com/D-codE-Hub/ERPNext-installation-Guide/blob/main/README.md
can you please suggest me
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
@imbraintl same issue version error. |
Please share the easy installation step |
Please share the easy installation step |
Information about bug
i am not able to install application
ModuleNotFoundError: No module named 'health'
bench --site margish.com install-app healthcare
getting the below error
(base) developer@nextbrain-Latitude-5480:~/Desktop/Frappe/frappe-bench$ bench --site margish.com install-app healthcare
Traceback (most recent call last):
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 75, in get_app_commands
app_command_module = importlib.import_module(f"{app}.commands")
File "/home/developer/miniforge3/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'health'
Traceback (most recent call last):
File "/home/developer/miniforge3/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/developer/miniforge3/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in
main()
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/developer/Desktop/Frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/developer/Desktop/Frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/developer/Desktop/Frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/developer/Desktop/Frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/developer/Desktop/Frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/developer/Desktop/Frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/developer/Desktop/Frappe/frappe-bench/env/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/commands/init.py", line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 456, in install_app
frappe.init(site=site)
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/init.py", line 284, in init
setup_module_map()
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/init.py", line 1646, in setup_module_map
for module in get_module_list(app):
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/init.py", line 1505, in get_module_list
return get_file_items(get_app_path(app_name, "modules.txt"))
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/init.py", line 1470, in get_app_path
return get_pymodule_path(app_name, *joins)
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/init.py", line 1500, in get_pymodule_path
return abspath(join(dirname(get_module(scrub(modulename)).file or ""), *joins))
File "/home/developer/Desktop/Frappe/frappe-bench/apps/frappe/frappe/init.py", line 1441, in get_module
return importlib.import_module(modulename)
File "/home/developer/miniforge3/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'health'
@rmehta @akurungadam @nabinhait
please let me now how to install frappe/health in ubuntu
readme file not able to install also i have install Erpnext.
Module
Integration with ERPNext modules
Version
Frappe version:14
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
Code of Conduct
The text was updated successfully, but these errors were encountered: