Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upInstalling fails: mysql_config not found #275
Comments
|
Try installing mysqlclient separately and then try the sudo pip install pattern
and then install pattern |
|
Hi, but I don't want to install mysql... |
|
When you install pattern mysqlclient is a dependency. It is not made optional yet.(That's what I faced anyway) |
|
So we can install the client, but don't have to install the database itself, right? |
|
I managed to install 3.6 after I did However, when I am now doing
|
|
I got it working with no errors.
sudo apt install libmysqlclient-dev
git clone https://github.com/clips/pattern
cd pattern/
# activate conda environment.
python setup.py install
|
|
You don't have root on all machines where you might want to use pattern, and I also do not see a reason why mysql-client should be a required dependency. Especially when the documentation mentions:
Please make optional dependencies optional. |
I want to upgrade from pattern 2.6 to 3.6
I uninstalled, and now I do:
sudo pip install patternand get
EnvironmentError: mysql_config not found