mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
install plugin langgenius/volcengine_maas:0.0.33 error #838
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bhswallow on GitHub (Nov 30, 2025).
Self Checks
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
File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_models.py", line 40, in
File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/__init__.py", line 13, in
File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/_utils.py", line 35, in
ModuleNotFoundError: No module named 'sniffio'
@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:
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
@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 bashexport LANG=C.UTF-8 LC_ALL=C.UTF-8export 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")'exitdocker restart docker-plugin_daemon-1docker logs -f docker-plugin_daemon-1@easayliu commented on GitHub (Dec 1, 2025):
#2155 same error, it fixed. you should get the right venv.
@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就要再手动再运行一次。
@hjlarry commented on GitHub (Dec 2, 2025):
please try 0.0.34