Ask coding questions

← Back to all posts
matplotlib breaks flaks
Ubya (0)

i made the simplest flask page one could make

app = Flask('')

def main():
    return "page is alive!"

def run():"", 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

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

Ubya (0)