title: Getting "Library not loaded: libssl.1.0.0.dylib", "Reason: image not found" with flask_mysqldb
body: <p>I'm trying out Python 3 with Flask and I'm stuck with the following error while working with databases.</p>
  
  <p><em>I'm doing this on macOS High Sierra v. 10.13.6</em> </p>
  
  <p><strong>My import code is as follows:</strong>  </p>
  
  <pre><code>from flask import Flask, render_template, flash, redirect, url_for, session, request, logging
  from data import Articles
  from flask_mysqldb import MySQL
  from wtforms import Form, StringField, TextAreaField, PasswordFeild, validators
  from passlib.hash import sha256_crypt
  </code></pre>
  
  <p><strong>The error I get when trying to run the app, is the following:</strong></p>
  
  <pre><code>Traceback (most recent call last):
      File "app.py", line 3, in &lt;module&gt;
          from flask_mysqldb import MySQL  
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- 
            packages/flask_mysqldb/__init__.py", line 1, in &lt;module&gt; import MySQLdb  
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- 
            packages/MySQLdb/__init__.py", line 18, in &lt;module&gt; import _mysql  
  ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- 
               packages/_mysql.cpython-37m-darwin.so, 2): Library not loaded: 
               libssl.1.0.0.dylib  
      Referenced from: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- 
                       packages/_mysql.cpython-37m-darwin.so  
      Reason: image not found
  </code></pre>
  
  <p>I've looked around in multiple other questions related to mine, but couldn't seem to find anything to solve my problem with. Or at least I didn't know how.
  I really hope someone can help me out.</p>