dify-plugin-tools-dbquery
dify-plugin-tools-dbquery copied to clipboard
离线安装失败
Please confirm before submission 在提交之前,请确认
- [x] I have searched for existing issues search for existing issues, including closed ones. 我已经搜索了现有问题搜索现有问题,包括已关闭的问题。"
Dify version Dify版本
1.4.3
db_query or db_query_pre_auth
Database Query 数据库查询
Plugin version 插件版本
0.0.6
database and version 数据库及版本
None
Problem description 问题描述
在使用 https://github.com/junjiem/dify-plugin-repackaging对您的插件打包之后,在内网环境下安装您的插件无法安装。显示
init environment for plugin hjlarry/database:0.0.6 failed too many times, you should consider the package is corrupted or your network is unstable。
在查看容器dify-plugin_daemon-1的日志之后发现 有如下报错:
[ERROR]init environment failed: failed to install dependencies: exit status 1, output: × No solution found when resolving dependencies:╰─▶ Because pymssql==2.3.6 has no wheels with a matching Python ABI tag
(e.g., `cp312`) and only pymssql==2.3.6 is available, we can conclude
that pymssql==2.3.6 cannot be used.
And because you require pymssql==2.3.6, we can conclude that your
requirements are unsatisfiable.
hint: You require CPython 3.12 (`cp312`), but we only found wheels for
`pymssql` (v2.3.6) with the following Python ABI tag: `cp311`
hint: `pymssql` was requested with a pre-release marker (e.g., all of:
pymssql>=2.3.2,<2.3.6
pymssql>2.3.6,<2.4.dev0
), but pre-releases weren't enabled (try: `--prerelease=allow`), retrying
请求解惑
报错显示没有对应的wheels(轮子),你可以手动修改requirements.txt中pymssql的版本
好的谢谢,请问您有推荐的版本吗?