Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 连接SQL server时报错,显示No module named ‘pymssql’ #2342

Open
3 of 15 tasks
Danrry1996 opened this issue Feb 10, 2025 · 0 comments
Open
3 of 15 tasks
Labels
bug Something isn't working Waiting for reply

Comments

@Danrry1996
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Windows

Python version information

=3.11

DB-GPT version

latest release

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

GPU数量:1
GPU内存:24g

Models information

LLM:qwen2.5:32b
Embedding:bge-m3

What happened

连接SQL server时报错,显示如下:No module named ‘pymssql’

Image

修改docker配置文件后,又报新的错误:(pymssql.exceptions.OperationalError) (20009, b'DB-Lib error message 20009, severity 9: Unable to connect: Adaptive Server is unavailable or does not exist (XXXX)

Image

Image

What you expected to happen

docker配置文件缺少其他依赖

How to reproduce

使用docker本地部署DB-GPT最新版本,连接SQL server数据库即会遇到该报错

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@Danrry1996 Danrry1996 added bug Something isn't working Waiting for reply labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

1 participant