File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,16 @@ $ pip install mysqlclient
48
48
49
49
Install MySQL and mysqlclient:
50
50
51
- ```
52
- # Assume you are activating Python 3 venv
51
+ ``` bash
52
+ $ # Assume you are activating Python 3 venv
53
53
$ brew install mysql pkg-config
54
54
$ pip install mysqlclient
55
55
```
56
56
57
57
If you don't want to install MySQL server, you can use mysql-client instead:
58
58
59
- ```
60
- # Assume you are activating Python 3 venv
59
+ ``` bash
60
+ $ # Assume you are activating Python 3 venv
61
61
$ brew install mysql-client pkg-config
62
62
$ export PKG_CONFIG_PATH=" /opt/homebrew/opt/mysql-client/lib/pkgconfig"
63
63
$ pip install mysqlclient
@@ -88,7 +88,7 @@ compiler/linker flags.
88
88
You can use ` MYSQLCLIENT_CFLAGS ` and ` MYSQLCLIENT_LDFLAGS ` environment
89
89
variables to customize compiler/linker options.
90
90
91
- ```
91
+ ``` bash
92
92
$ export MYSQLCLIENT_CFLAGS=` pkg-config mysqlclient --cflags`
93
93
$ export MYSQLCLIENT_LDFLAGS=` pkg-config mysqlclient --libs`
94
94
$ pip install mysqlclient
You can’t perform that action at this time.
0 commit comments