Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6891451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:24:43+00:00 2026-05-27T06:24:43+00:00

How do i get a basic web2py server up and running on PythonAnywhere ?

  • 0

How do i get a basic web2py server up and running on
PythonAnywhere?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:24:44+00:00Added an answer on May 27, 2026 at 6:24 am

    [update – 29/05] We now have a big button on the web tab that will do all this stuff for you. Just click where it says Web2Py, fill in your admin password, and you’re good to go.

    Here’s the old stuff for historical interest…

    I’m a PythonAnywhere developer. We’re not massive web2py experts (yet?) but I’ve managed to get web2py up and running like this:

    First download and unpack web2py:

    wget http://www.web2py.com/examples/static/web2py_src.zip
    unzip web2py_src.zip
    

    Go to the PythonAnywhere “Web” panel and edit your wsgi.py. Add these lines:

    import os
    import sys
    
    path = '/home/my_username/web2py'
    if path not in sys.path:
        sys.path.append(path)
    
    from wsgihandler import application
    

    replacing my_username with your username.

    You will also need to comment out the last two lines in wsgi.py, where we have the default hello world web.py application…

    # comment out these two lines if you want to use another framework
    #app = web.application(urls, globals())
    #application = app.wsgifunc()
    

    Thanks to Juan Martinez for his instructions on this part, which you can view here:
    http://web2py.pythonanywhere.com/

    then open a Bash console, and cd into the main web2py folder, then run

    python web2py.py --port=80
    

    enter admin password

    press ctrl-c

    (this will generate the parameters_80.py config file)

    then go to your Web panel on PythonAnywhere, click reload web app,
    and things should work!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get a basic datagrid for simple tabular input. The server will
Trying to get a basic understanding of T-SQL here in SQL Server 2008. Suppose
I am trying to get some basic unit tests up and running on the
I'm trying to get a basic image picker/photo taker running in my app and
I'm trying to get a basic flip animation transition working when I push a
I'm trying to get started with Three20 and just want to get a basic
Im trying to get into some basic JavaFX game development and I'm getting confused
currently i have jdbc code with the following basic stucture: get Connection (do the
Very basic question - how to get one value from a generator in Python?
So this seems pretty basic but I can't get it to work. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.