dify icon indicating copy to clipboard operation
dify copied to clipboard

no module named dify_plugin

Open linhao622 opened this issue 1 year ago • 13 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0-beta

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Download the plugin from the marketplace to your local machine.
  2. Attempt to install the plugin locally, but after waiting for a long time it was not successful. I checked the plugin_daemon logs which showed the following:
2025-01-13 10:03:26 2025/01/13 02:03:26 run.go:169: [INFO]plugin langgenius/huggingface_tei:0.0.1 stopped
2025-01-13 10:03:31 2025/01/13 02:03:31 run.go:126: [INFO]plugin langgenius/oaicompat_dify_app:0.0.2 started
2025-01-13 10:03:31 2025/01/13 02:03:31 run.go:126: [INFO]plugin langgenius/vanna:0.0.1 started
2025-01-13 10:03:31 2025/01/13 02:03:31 run.go:126: [INFO]plugin langgenius/huggingface_tei:0.0.1 started
2025-01-13 10:03:31 2025/01/13 02:03:31 run.go:117: [ERROR]plugin langgenius/vanna:0.0.1 exited with error: Traceback (most recent call last):
2025-01-13 10:03:31   File "<frozen runpy>", line 198, in _run_module_as_main
2025-01-13 10:03:31   File "<frozen runpy>", line 88, in _run_code
2025-01-13 10:03:31   File "/app/storage/cwd/langgenius/vanna-0.0.1@842b4092488b9bb0a50272ece7bd17f1448eaae5ce8353ae9d77061aeb1d8b87/main.py", line 1, in <module>
2025-01-13 10:03:31 
2025-01-13 10:03:31     from dify_plugin import Plugin, DifyPluginEnv
2025-01-13 10:03:31 ModuleNotFoundError: No module named 'dify_plugin'

✔️ Expected Behavior

The plugin was successfully installed and is properly displayed and functional in the web UI.

❌ Actual Behavior

The installation took a long time but was not successful.

linhao622 avatar Jan 13 '25 02:01 linhao622