程序问题如下:
WARNING:param.extension: Holoviews bokeh extension could not be imported, it raised the following exception: RuntimeError('There is no current event loop in thread 'Dummy-1'.')
Exception ignored in thread started by: <function check_errors..wrapper at 0x000001F53E96FA60>
Traceback (most recent call last):
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\utils\autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\core\management\commands\runserver.py", line 120, in inner_run
self.check(display_num_errors=True)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\core\management\base.py", line 361, in check
all_issues = self._run_checks(
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\core\management\base.py", line 351, in run_checks
return checks.run_checks(**kwargs)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\core\checks\registry.py", line 73, in run_checks
new_errors = check(app_configs=app_configs)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\core\checks\urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\urls\resolvers.py", line 397, in check
for pattern in self.url_patterns:
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\utils\functional.py", line 36, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\urls\resolvers.py", line 536, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\utils\functional.py", line 36, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\57797\AppData\Roaming\Python\Python39\site-packages\django\urls\resolvers.py", line 529, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Program Files\Python39\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in load_unlocked
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "C:\Users\57797\PycharmProjects\HealthRecommandSystem\HealthRecommandSystem\urls.py", line 19, in
from health import views
File "C:\Users\57797\PycharmProjects\HealthRecommandSystem\health\views.py", line 188, in
from myhealth import initMethod, recipe_recommend, female_japanese_each, method
File "C:\Users\57797\PycharmProjects\HealthRecommandSystem\myhealth.py", line 11, in
hv.extension('bokeh')
File "C:\Users\57797\PycharmProjects\HealthRecommandSystem\venv\lib\site-packages\pyviz_comms_init.py", line 64, in new
return param.ParameterizedFunction.new(cls, *args, **kwargs)
File "C:\Users\57797\PycharmProjects\HealthRecommandSystem\venv\lib\site-packages\param\parameterized.py", line 4428, in new
return inst.call(*args,**params)
File "C:\Users\57797\PycharmProjects\HealthRecommandSystem\venv\lib\site-packages\holoviews\util_init.py", line 716, in call
raise ImportError('None of the backends could be imported')
ImportError: None of the backends could be imported