Ask coding questions

← Back to all posts
For some reason, flask isn't working!
Code1Tech (105)

Yesterday, I made a website using flask. But today when I went to edit, it said 'Internal server error.' And I thought my repl was broken. So I restored a previous version but it was still broken. Then I made a new repl called 'Flask is broken' and it wouldn't install the flask package. Please help me!
(Example is linked with 'flask IS broken')

Answered by Coder100 (18207) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18207)

Try deleting all your packager files and then manually installing flask again.


Code1Tech (105)

It worked but I got this..


@Coder100

Code1Tech (105)

And there is no error in my code, I checked.
@Coder100

Coder100 (18207)

oh, create a new folder called templates and drag index.html into there. @Code1Tech

Coder100 (18207)

nope, there isn't its a flask thing @Code1Tech

Coder100 (18207)

also read this if you hate the templates folder for some reason (I do!) @Code1Tech

Code1Tech (105)

oh i forgot about templates XD
@Coder100

Code1Tech (105)

Also if you want, you can take a look at my website!
https://Know-It-Code.code1tech.repl.co
@Coder100

Coder100 (18207)

could use a bit more css lol @Code1Tech

Coder100 (18207)

ah, well ig you will learn soon! @Code1Tech