Skip to content

Commit ba85984

Browse files
authored
Update README.md
1 parent b162ddd commit ba85984

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,16 @@ Install MySQL and mysqlclient:
5050

5151
```
5252
# Assume you are activating Python 3 venv
53-
$ brew install mysql
53+
$ brew install mysql pkg-config
5454
$ pip install mysqlclient
5555
```
5656

5757
If you don't want to install MySQL server, you can use mysql-client instead:
5858

5959
```
6060
# Assume you are activating Python 3 venv
61-
$ brew install mysql-client
62-
$ echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.bash_profile
63-
$ export PATH="/usr/local/opt/mysql-client/bin:$PATH"
61+
$ brew install mysql-client pkg-config
62+
$ export PKG_CONFIG_PATH="/opt/homebrew/opt/mysql-client/lib/pkgconfig"
6463
$ pip install mysqlclient
6564
```
6665

0 commit comments

Comments
 (0)