Python import web not working

后端 未结 7 1839
长发绾君心
长发绾君心 2020-12-29 08:15

So I\'m getting the following error when running a script that imports web.

$ python bin/app.py
Traceback (most recent call last):
File \"bin/ap         


        
7条回答
  •  -上瘾入骨i
    2020-12-29 08:41

    The following is the command that you need to run

    $ easy_install web.py

    And according to the document for lpthw (which just uses a fork of web.py), you can run :

    $ pip install lpthw.web

    Then to run the application you will just need to do:

    $ python app.py

提交回复
热议问题