installing flask-mysql using conda
Installing flask-mysql
using the command conda install -c auto flask-mysql
is currently only supported by Linux. If you check this link, you'll find this package is only available for linux-32 and linux-64
I am assuming you want to install a database toolkit for Flask. May I suggest you use SQLAlchemy? It supports MySQL starting with version 4.1 through modern releases. Follow this link for more details: http://docs.sqlalchemy.org/en/latest/dialects/mysql.html
The conda command to install Flask and SQLAlchemy is:
conda install -c conda-forge flask-sqlalchemy
Or, to get python + flask + mysql working on Mac you can simply type in these commands:
pip install flask
Then,
sudo suexport CFLAGS=-Qunused-argumentsexport CPPFLAGS=-Qunused-argumentspip install MySQL-python
Finally, make a symlink
cd /usr/localsudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
I hope this helps! :)