-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing 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. |
Related to #250 |
Please....We are unable to use Pattern because of this error message from MySQL..... |
I want to upgrade from pattern 2.6 to 3.6
I uninstalled, and now I do:
sudo pip install pattern
and get
EnvironmentError: mysql_config not found
The text was updated successfully, but these errors were encountered: