Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
196 views

Flask run application.py chart is always yellow

How does this Flask work? I made application.py look like this: from flask import Flask, redirect, render_template, request, url_for import os import helpers from analyzer import Analyzer app = ...
0 votes
1 answer
148 views

PSET 6 [Similarities - less] How is the compare file accessed in this problem since it is not imported to application.py

(Dont be intimidated by length of code chunks, I included all of my guess as to what's going on, so most of it is just stuff to skim over) The folder similarities contains static and template folders ...
0 votes
1 answer
69 views

Should my distances function return the matrix in PSET6?

I'm working on the 'more comfortable' version of Similarities in PSET6. When I execute ./score wordone wordtwo, the IDE responds: 'Could not read wordone'. I initially thought the issue was my web ...
2 votes
1 answer
406 views

IndexError in initial state of pset6 Sentiments

I am working on Pset 6, Sentiments and followed the steps to create my app on twitter. I added keys, installed requirements.txt and did everything in order, but when I type "flask run" and visit the ...
0 votes
1 answer
434 views

"flask run" error in pset6 sentiments

When I press "flask run" command I am getting the following error ~/workspace/2017/flask/ $ flask run * Serving Flask app "application" * Forcing debug mode on Traceback (most recent call last): ...