Hi,
I’m using erpnext hosted via Frappe Cloud- Earlier i tired to install Gameplan app and then uninstalled, but it still shows in the app, also when i check my Frappe cloud apps section it doesn’t shows the Gameplan app, so i think lets install the app again then i will uninstall it but while installing it shows me this error.
Install App on Site
4s
Installing gameplan…
Updating DocTypes for gameplan : [========================================] 100%
An error occurred while installing gameplan: No module named ‘onnxruntime’
Traceback with variables (most recent call last):
File “apps/frappe/frappe/commands/site.py”, line 478, in install_app
_install_app(app, verbose=context.verbose, force=force)
context = {‘sites’: [‘grotech.frappe.cloud’], ‘force’: False, ‘verbose’: False, ‘profile’: False}
apps = (‘gameplan’,)
force = True
_install_app = <function install_app at 0x7f20d4ecb240>
filelock = <function filelock at 0x7f20d4ec89a0>
exit_code = 0
site = ‘grotech.frappe.cloud’
app = ‘gameplan’
err = ModuleNotFoundError(“No module named ‘onnxruntime’”)
File “apps/frappe/frappe/installer.py”, line 326, in install_app
frappe.get_attr(after_install)()
name = ‘gameplan’
verbose = False
set_as_patched = True
force = True
sync_jobs = <function sync_jobs at 0x7f20d43ecb80>
sync_for = <function sync_for at 0x7f20d43edb20>
sync_customizations = <function sync_customizations at 0x7f20d5c44b80>
sync_fixtures = <function sync_fixtures at 0x7f20d43ede40>
app_hooks = {‘add_to_apps_screen’: [{‘name’: ‘gameplan’, ‘logo’: ‘/assets/gameplan/manifest/favicon-196.png’, ‘title’: ‘Gameplan’, ‘route’: ‘/g’}], ‘after_install’: [‘gameplan.install.after_install’], ‘after_migrate’: [‘gameplan.search.build_index_in_background’], ‘app_description’: [‘Team discussion and collaboration tool’], ‘app_email’: [‘faris@frappe.io’], ‘app_icon_route’: [‘/g’], ‘app_icon_title’: [‘Gameplan’], ‘app_icon_url’: [‘/assets/gameplan/manifest/favicon-180.png’], ‘app_license’: [‘AGPLv3’], ‘app_name’: [‘gameplan’], ‘app_publisher’: [‘Frappe Technologies Pvt Ltd’], ‘app_title’: [‘Gameplan’], ‘app_version’: [‘0.0.1’], ‘before_install’: [‘gameplan.install.before_install’], ‘doc_events’: {‘*’: {‘on_trash’: [‘gameplan.mixins.on_delete.on_trash’]}, ‘User’: {‘after_insert’: [‘gameplan.gameplan.doctype.gp_user_profile.gp_user_profile.create_user_profile’], ‘on_trash’: [‘gameplan.gameplan.doctype.gp_user_profile.gp_user_profile.delete_user_profile’, 'gameplan.gameplan.doctype.gp_guest_access…
installed_apps = [‘frappe’, ‘erpnext’, ‘payments’, ‘india_compliance’, ‘hrms’, ‘insights’, ‘gameplan’]
before_install = ‘gameplan.install.before_install’
out = None
after_install = ‘gameplan.install.after_install’
File “apps/gameplan/gameplan/install.py”, line 11, in after_install
download_rembg_model()
File “apps/gameplan/gameplan/install.py”, line 22, in download_rembg_model
from rembg import new_session
File “env/lib/python3.11/site-packages/rembg/init.py”, line 5, in
from .bg import remove
name = ‘rembg’
doc = None
package = ‘rembg’
loader = <_frozen_importlib_external.SourceFileLoader object at 0x7f20cf7f7d50>
spec = ModuleSpec(name=‘rembg’, loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f20cf7f7d50>, origin=‘env/lib/python3.11/site-packages/rembg/init.py’, submodule_search_locations=[‘env/lib/python3.11/site-packages/rembg’])
path = [‘env/lib/python3.11/site-packages/rembg’]
file = ‘env/lib/python3.11/site-packages/rembg/init.py’
cached = ‘env/lib/python3.11/site-packages/rembg/pycache/init.cpython-311.pyc’
builtins = {‘name’: ‘builtins’, ‘doc’: “Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all ‘built-in’\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.”, ‘package’: ‘’, ‘loader’: <class ‘_frozen_importlib.BuiltinImporter’>, ‘spec’: ModuleSpec(name=‘builtins’, loader=<class ‘_frozen_importlib.BuiltinImporter’>, origin=‘built-in’), ‘build_class’: , ‘import’: , ‘abs’: , ‘all’: , ‘any’: , ‘ascii’: , ‘bin’: , ‘breakpoint’: , ‘callable’: <built-in f…
_version = <module ‘rembg._version’ from ‘env/lib/python3.11/site-packages/rembg/_version.py’>
version = ‘2.0.60’
File “env/lib/python3.11/site-packages/rembg/bg.py”, line 6, in
import onnxruntime as ort
name = ‘rembg.bg’
doc = None
package = ‘rembg’
loader = <_frozen_importlib_external.SourceFileLoader object at 0x7f20cf5b0e10>
spec = ModuleSpec(name=‘rembg.bg’, loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f20cf5b0e10>, origin=‘env/lib/python3.11/site-packages/rembg/bg.py’)
file = ‘env/lib/python3.11/site-packages/rembg/bg.py’
cached = ‘env/lib/python3.11/site-packages/rembg/pycache/bg.cpython-311.pyc’
builtins = {‘name’: ‘builtins’, ‘doc’: “Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all ‘built-in’\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.”, ‘package’: ‘’, ‘loader’: <class ‘_frozen_importlib.BuiltinImporter’>, ‘spec’: ModuleSpec(name=‘builtins’, loader=<class ‘_frozen_importlib.BuiltinImporter’>, origin=‘built-in’), ‘build_class’: , ‘import’: , ‘abs’: , ‘all’: , ‘any’: , ‘ascii’: , ‘bin’: , ‘breakpoint’: , ‘callable’: <built-in f…
io = <module ‘io’ (frozen)>
Enum = <enum ‘Enum’>
Any = typing.Any
List = typing.List
Optional = typing.Optional
Tuple = typing.Tuple
Union = typing.Union
cast = <function cast at 0x7f20d77ae020>
np = <module ‘numpy’ from ‘env/lib/python3.11/site-packages/numpy/init.py’>
builtins.ModuleNotFoundError: No module named ‘onnxruntime’