How to install Flask on Windows?

前端 未结 10 1157
灰色年华
灰色年华 2020-12-03 01:02

I have a project to do for after create a webpage that display the latest weather from my CSV file.

I would like some details how to do it (don\'t really get the

10条回答
  •  春和景丽
    2020-12-03 01:43

    heres a step by step procedure (assuming you've already installed python):

    1. first install chocolatey:

    open terminal (Run as Administrator) and type in the command line:

    C:/> @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

    it will take some time to get chocolatey installed on your machine. sit back n relax...

    1. now install pip. type in terminal cinst easy.install pip

    2. now type in terminal: pip install flask

    YOU'RE DONE !!! Tested on Win 8.1 with Python 2.7

提交回复
热议问题