![]() |
How to install flask boostrap? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: How to install flask boostrap? (/thread-5797.html) |
How to install flask boostrap? - Peter_EU - Oct-22-2017 Hallo, I am following this tutorial: https://www.youtube.com/watch?v=8aTnmsDMldY to make my very first serious(?) web. Now,Python code contains from flask_bootstrap import Bootstrapand when I hit Run, console says I have no Flask Boostrap installed. I have ZERO :) idea how to do it :). I can't find any tutorial neither.... If somebody would be so nice and explain me in human (...ignorant... :) ) language how to do it? Thank you very much! Sincerely, Peter the Noob Noob RE: How to install flask boostrap? - wavic - Oct-22-2017 Hello! OS? Open a terminal/cmd window and run: python -m pip install flask-bootstrap RE: How to install flask boostrap? - Peter_EU - Oct-22-2017 HORY SHET I DID IT!!11!1! All by myself! I am fekin Alan Turing :D (Oct-22-2017, 02:59 PM)wavic Wrote: Hello! OS? Thenx. What I did was download files from internet, copyed all according to adress and then wrote pip install flask-bootstrap. Next what I know is that my new web app werks! ^_^ ....but just for my curiosity: when I het Run, this is what console writes (127.0.0.1:5000 works fine...) Quote:C:\Language\Python3.6\python.exe C:/temp/example1/venv/app/FirstWeb.py ....what these " "GET /login HTTP/1.1" 200 -" mean? My OS is Windows 8 (I am noob noob....) maybe one more question please: according to turtorial https://www.youtube.com/watch?v=8aTnmsDMldY&t=195s (3:20) I added line: from flask import FlaskFormbut when I hit Run, I see error message Quote:Traceback (most recent call last): I installed Flask WTF and when I open console and try to reinstall it, it says it is all right and I have all that is needed installed. ....what is wrong, please? (OS is Windows 8) RE: How to install flask boostrap? - Larz60+ - Oct-22-2017 The import statement is: from flask_wtf import FlaskFormNot as you have it: from flask import FlaskFormif you haven't already done so, you must import the flask-wtf package which you would do with the statement: pip install flask-wtf |