Skip to content

Commit 2be325e

Browse files
committed
更新MySQL-python安装说明
1 parent d276df7 commit 2be325e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,10 @@ $ sudo pip install MySQL-python
549549
```
550550
$ sudo apt-get install libmysqlclient-dev python-dev
551551
```
552+
原因:安装的是 mariadb 服务,所以需要安装:
553+
```
554+
$ sudo apt-get install libmariadbclient-dev
555+
```
552556

553557
说明:
554558
python版本的MySQL库(不建议使用这个)

0 commit comments

Comments
 (0)