Skip to content
← Back to Community
matplotlib breaks flaks
Profile icon
Ubya

i made the simplest flask page one could make

app = Flask('') @app.route('/') def main(): return "page is alive!" def run(): app.run(host="0.0.0.0", port="8080")

if i run the script as is it works fine, but as soon as i import the matplotlib library, a new window appears (fluxbox) and the page simply doesn't load
example of what i see

i have no clue what to do to be honest, i can't see why having matplotlib would break flask

Voters
Profile icon
bsoni
Profile icon
Ubya