cmd中flask/Scripts/python run.py出错?
巴扎黑
巴扎黑 2017-04-17 16:36:56
0
4
349

http://www.pythondoc.com/flask-mega-tutorial/helloworld.html#flask-hello-world
按照这个教程一步一步来的。
到最后一步执行程序时,在windows 10 cmd下
执行flask/Scripts/python run.py出错,如下图:

本人python菜鸟,请各位多多指点。

巴扎黑
巴扎黑

reply all (4)
Peter_Zhu

If you already have PATH, just use python.
Or try using slashes instead of backslashes.

    PHPzhong

    You have not entered the folder of the run.py program at all.
    Learn how to enter the folder using cmd

      伊谢尔伦

      Install virtualenv and run in virtualenv environment

        伊谢尔伦

        If you already have PATH, just use python.
        Or try using slashes instead of backslashes

        On the top floor, I followed this method and the test passed

        Install virtualenv flask under win8.1 python3.4.2
        Error when executing flask/Scripts/python run.py

        Use flaskScriptspython run.py to pass because it is win and does not matter permissions

        In addition, whether run.py should be outside the app directory is more standardized

          Latest Downloads
          More>
          Web Effects
          Website Source Code
          Website Materials
          Front End Template
          About us Disclaimer Sitemap
          php.cn:Public welfare online PHP training,Help PHP learners grow quickly!