How to install Flask on Windows?

前端 未结 10 1158
灰色年华
灰色年华 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 02:07

    First: I assumed you already have Python 2.7 or 3.4 installed.

    1: In the Control Panel, open the System option (alternately, you can right-click on My Computer and select Properties). Select the “Advanced system settings” link.

    1. In the System Properties dialog, click “Environment Variables”.

    2. In the Environment Variables dialog, click the New button underneath the “System variables” section.

    3. if someone is there that above is not working, then kindly append to your PATH with the C:\Python27 then it should surely work. C:\Python27\Scripts

    4. Run this command (Windows cmd terminal): pip install virtualenv

    5. If you already have pip, you can upgrade them by running:

      pip install --upgrade pip setuptools

    6. Create your project. Then, run virtualenv flask

提交回复
热议问题