install plugin langgenius/volcengine_maas:0.0.33 error #838

Closed
opened 2026-02-16 10:20:40 -05:00 by yindo · 5 comments
Owner

Originally created by @bhswallow on GitHub (Nov 30, 2025).

Self Checks

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

Dify version

1.10.1

Plugin version

langgenius/volcengine_maas:0.0.33

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

1.install plugin langgenius/volcengine_maas:0.0.33
2.add models (still pending)
3.docker logs -f docker-plugin_daemon-1, find error

✔️ Error log

docker logs -f docker-plugin_daemon-1

2025/11/30 10:26:02 run.go:147: [INFO]plugin langgenius/volcengine_maas:0.0.33 started
2025/11/30 10:26:03 run.go:135: [ERROR]plugin langgenius/volcengine_maas:0.0.33 exited with error: exit status 1
e/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_client.py", line 27, in

from ._models import BaseModel                                                                                                                                                                                                                 

File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_models.py", line 40, in

from ._utils import (                                                                                                                                                                                                                          

File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/__init__.py", line 13, in

from ._utils import (                                                                                                                                                                                                                          

File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/_utils.py", line 35, in

import sniffio                                                                                                                                                                                                                                 

ModuleNotFoundError: No module named 'sniffio'

Originally created by @bhswallow on GitHub (Nov 30, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.10.1 ### Plugin version langgenius/volcengine_maas:0.0.33 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1.install plugin langgenius/volcengine_maas:0.0.33 2.add models (still pending) 3.docker logs -f docker-plugin_daemon-1, find error ### ✔️ Error log docker logs -f docker-plugin_daemon-1 2025/11/30 10:26:02 run.go:147: [INFO]plugin langgenius/volcengine_maas:0.0.33 started 2025/11/30 10:26:03 run.go:135: [ERROR]plugin langgenius/volcengine_maas:0.0.33 exited with error: exit status 1 e/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_client.py", line 27, in <module> from ._models import BaseModel File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_models.py", line 40, in <module> from ._utils import ( File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/__init__.py", line 13, in <module> from ._utils import ( File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/_utils.py", line 35, in <module> import sniffio ModuleNotFoundError: No module named 'sniffio'
yindo added the bug label 2026-02-16 10:20:40 -05:00
yindo closed this issue 2026-02-16 10:20:40 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 30, 2025):

The error happens because the plugin's requirements.txt does not include the sniffio dependency, but one of its libraries tries to import it, causing the ModuleNotFoundError. This is not addressed in any recent plugin updates or pull requests—sniffio is missing from all versions of the requirements file so far (example).

As a workaround, you can manually add sniffio to the plugin's requirements.txt file (inside models/volcengine_maas/requirements.txt), then rebuild or restart the plugin container so the dependency is installed. For example, add this line:

sniffio

Then restart the plugin daemon. This should resolve the missing module error.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Nov 30, 2025): <!-- Answer --> The error happens because the plugin's requirements.txt does not include the sniffio dependency, but one of its libraries tries to import it, causing the ModuleNotFoundError. This is not addressed in any recent plugin updates or pull requests—sniffio is missing from all versions of the requirements file so far ([example](https://github.com/langgenius/dify-official-plugins/blob/3e0b614056d4791eae0b07af9e38b8a9e2b8d016/models/volcengine_maas/requirements.txt#L1-L6)). As a workaround, you can manually add sniffio to the plugin's requirements.txt file (inside models/volcengine_maas/requirements.txt), then rebuild or restart the plugin container so the dependency is installed. For example, add this line: ``` sniffio ``` Then restart the plugin daemon. This should resolve the missing module error. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/4d86cd14-3e8d-41bf-864e-f2971bf482c5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/4d86cd14-3e8d-41bf-864e-f2971bf482c5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/4d86cd14-3e8d-41bf-864e-f2971bf482c5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/4d86cd14-3e8d-41bf-864e-f2971bf482c5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/4d86cd14-3e8d-41bf-864e-f2971bf482c5?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/4d86cd14-3e8d-41bf-864e-f2971bf482c5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/4d86cd14-3e8d-41bf-864e-f2971bf482c5?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20error%20happens%20because%20the%20plugin%27s%20requirements.txt%20does%20not%20include%20the%20sniffio%20dependency%2C%20but%20one%20of%20its%20libraries%20tries%20to%20import%20it%2C%20causing%20the%20ModuleNotFoundError.%20This%20is%20not%20addressed%20in%20any%20recent%20plugin%20updates%20or%20pull%20requests%E2%80%94sniffio%20is%20missing%20from%20all%20versions%20of%20the%20requirements%20file%20so%20far%20%28%5Bexample%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/3e0b614056d4791eae0b07af9e38b8a9e2b8d016/models/volcengine_maas/requirements.txt%23L1-L6%29%29.%0A%0AAs%20a%20workaround%2C%20you%20can%20manually%20add%20sniffio%20to%20the%20plugin%27s%20requirements.txt%20file%20%28inside%20models/volcengine_maas/requirements.txt%29%2C%20then%20rebuild%20or%20restart%20the%20plugin%20container%20so%20the%20dependency%20is%20installed.%20For%20example%2C%20add%20this%20line%3A%0A%0A%60%60%60%0Asniffio%0A%60%60%60%0A%0AThen%20restart%20the%20plugin%20daemon.%20This%20should%20resolve%20the%20missing%20module%20error.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/2153)
Author
Owner

@bhswallow commented on GitHub (Nov 30, 2025):

thank you!

My temporary solution:
Enter docker-plugin_daemon-1 to find the .venv of the plugin, and install the plugin in .venv. The detailed steps are as follows:
docker exec -it docker-plugin_daemon-1 bash
export LANG=C.UTF-8 LC_ALL=C.UTF-8
export PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.tuna.tsinghua.edu.cn/simple}
VENV=$(find /app/storage -maxdepth 5 -type d -name '.venv' | head -n1)
echo "$VENV"
"$VENV/bin/python" -m ensurepip --upgrade || (curl -fsSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && "$VENV/bin/python" /tmp/get-pip.py)
"$VENV/bin/python" -m pip install -U sniffio anyio httpx -i "$PIP_INDEX_URL"
"$VENV/bin/python" -c 'import sniffio,anyio,httpx;print("deps ok")'
exit
docker restart docker-plugin_daemon-1
docker logs -f docker-plugin_daemon-1

@bhswallow commented on GitHub (Nov 30, 2025): thank you! My temporary solution: Enter docker-plugin_daemon-1 to find the .venv of the plugin, and install the plugin in .venv. The detailed steps are as follows: `docker exec -it docker-plugin_daemon-1 bash` `export LANG=C.UTF-8 LC_ALL=C.UTF-8` `export PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.tuna.tsinghua.edu.cn/simple}` `VENV=$(find /app/storage -maxdepth 5 -type d -name '.venv' | head -n1)` `echo "$VENV" ` `"$VENV/bin/python" -m ensurepip --upgrade || (curl -fsSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && "$VENV/bin/python" /tmp/get-pip.py)` `"$VENV/bin/python" -m pip install -U sniffio anyio httpx -i "$PIP_INDEX_URL"` `"$VENV/bin/python" -c 'import sniffio,anyio,httpx;print("deps ok")'` `exit` `docker restart docker-plugin_daemon-1` `docker logs -f docker-plugin_daemon-1`
Author
Owner

@easayliu commented on GitHub (Dec 1, 2025):

thank you!

My temporary solution: Enter docker-plugin_daemon-1 to find the .venv of the plugin, and install the plugin in .venv. The detailed steps are as follows: docker exec -it docker-plugin_daemon-1 bash export LANG=C.UTF-8 LC_ALL=C.UTF-8 export PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.tuna.tsinghua.edu.cn/simple} VENV=$(find /app/storage -maxdepth 5 -type d -name '.venv' | head -n1) echo "$VENV" "$VENV/bin/python" -m ensurepip --upgrade || (curl -fsSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && "$VENV/bin/python" /tmp/get-pip.py) "$VENV/bin/python" -m pip install -U sniffio anyio httpx -i "$PIP_INDEX_URL" "$VENV/bin/python" -c 'import sniffio,anyio,httpx;print("deps ok")' exit docker restart docker-plugin_daemon-1 docker logs -f docker-plugin_daemon-1

#2155 same error, it fixed. you should get the right venv.

@easayliu commented on GitHub (Dec 1, 2025): > thank you! > > My temporary solution: Enter docker-plugin_daemon-1 to find the .venv of the plugin, and install the plugin in .venv. The detailed steps are as follows: `docker exec -it docker-plugin_daemon-1 bash` `export LANG=C.UTF-8 LC_ALL=C.UTF-8` `export PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.tuna.tsinghua.edu.cn/simple}` `VENV=$(find /app/storage -maxdepth 5 -type d -name '.venv' | head -n1)` `echo "$VENV" ` `"$VENV/bin/python" -m ensurepip --upgrade || (curl -fsSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py && "$VENV/bin/python" /tmp/get-pip.py)` `"$VENV/bin/python" -m pip install -U sniffio anyio httpx -i "$PIP_INDEX_URL"` `"$VENV/bin/python" -c 'import sniffio,anyio,httpx;print("deps ok")'` `exit` `docker restart docker-plugin_daemon-1` `docker logs -f docker-plugin_daemon-1` #2155 same error, it fixed. you should get the right venv.
Author
Owner

@nadazero commented on GitHub (Dec 1, 2025):

不过这个bug好像只在dify 1.10.1上出现,我的环境是dify 1.9.2, 使用volcengine_maas:0.0.33 一切正常。
还是希望官方修正这个bug,否则上面的临时方案一旦volcengine组件升级到0.0.34就要再手动再运行一次。

@nadazero commented on GitHub (Dec 1, 2025): 不过这个bug好像只在dify 1.10.1上出现,我的环境是dify 1.9.2, 使用volcengine_maas:0.0.33 一切正常。 还是希望官方修正这个bug,否则上面的临时方案一旦volcengine组件升级到0.0.34就要再手动再运行一次。
Author
Owner

@hjlarry commented on GitHub (Dec 2, 2025):

please try 0.0.34

@hjlarry commented on GitHub (Dec 2, 2025): please try 0.0.34
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#838