Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 python 中安装 mysql db,但我无法这样做。我已经安装了设置工具并下载了 python mysqldb。当我尝试在命令提示符下执行Setup.py 安装时,它显示错误“无法打开 URL”。我的电脑没有互联网连接。
这样做之后,当我在 python shell 中给出 import mysqldb 时,它给了我错误,因为没有名为 Connector 的模块
任何人都可以帮助在 python 中安装 Mysqldb。
提前致谢
尝试通过二进制安装:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python