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

[Typo]: Python 连接MO服务 使用 sqlalchemy 连接 MatrixOne 执行报错 #200

Open
1 task done
LiSong0214 opened this issue Feb 3, 2023 · 0 comments
Open
1 task done
Assignees

Comments

@LiSong0214
Copy link
Collaborator

Is there an existing issue about this typo?

  • I have checked the existing issues.

Describe the issue

image

执行报错,找不到 MySQLdb,经过查看资料,MySQLdb 不支持 python3,所以需要前置加上它的替换(https://stackoverflow.com/questions/39574813/error-loading-mysqldb-module-no-module-named-mysqldb)

import pymysql
pymysql.install_as_MySQLdb()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants