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 7062571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:36:36+00:00 2026-05-28T04:36:36+00:00

Im trying to get web2py running on an Ubuntu machine. All the docs seem

  • 0

I”m trying to get web2py running on an Ubuntu machine. All the docs seem to indicate that to run it on a *nix system, you download the source and do:

python web2py.py

I grabbed the source (stable source, not the trunk, version 1.99.4) and tried the above, but after entering a password for the server I get (in the terminal):

$ python web2py.py 
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2011
Version 1.99.4 (2011-12-14 14:46:14) stable
Database drivers available: google
Starting hardcron...
WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking
please visit:
    http://127.0.0.1:8000
starting browser...
failed to create drawable
DEBUG: connect attempt 0, connection error:
Traceback (most recent call last):
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 4736, in __init__
    self._adapter = ADAPTERS[self._dbname](*args)
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 1634, in __init__
    raise RuntimeError, "Unable to import driver"
RuntimeError: Unable to import driver
WARNING:web2py.cron:WEB2PY CRON: Disabled because no file locking
DEBUG: connect attempt 1, connection error:
Traceback (most recent call last):
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 4736, in __init__
    self._adapter = ADAPTERS[self._dbname](*args)
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 1634, in __init__
    raise RuntimeError, "Unable to import driver"
RuntimeError: Unable to import driver
DEBUG: connect attempt 2, connection error:
Traceback (most recent call last):
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 4736, in __init__
    self._adapter = ADAPTERS[self._dbname](*args)
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 1634, in __init__
    raise RuntimeError, "Unable to import driver"
RuntimeError: Unable to import driver
DEBUG: connect attempt 3, connection error:
Traceback (most recent call last):
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 4736, in __init__
    self._adapter = ADAPTERS[self._dbname](*args)
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 1634, in __init__
    raise RuntimeError, "Unable to import driver"
RuntimeError: Unable to import driver
DEBUG: connect attempt 4, connection error:
Traceback (most recent call last):
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 4736, in __init__
    self._adapter = ADAPTERS[self._dbname](*args)
  File "/home/aparkin/Downloads/web2py/gluon/dal.py", line 1634, in __init__
    raise RuntimeError, "Unable to import driver"
RuntimeError: Unable to import driver

And then in the browser I get:

Internal error
Ticket issued: welcome/127.0.0.1.2012-.....[abbreviated]

Any suggestions? I’m running Python 2.7.1+. I’ve read elsewhere that you also need pyschopg2 installed for web2py to run, and I’ve confirmed that this is in fact installed as well (I did a sudo apt-get install python-psycopg2 and got “python-psycopg2 is already the newest version”).

  • 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-28T04:36:36+00:00Added an answer on May 28, 2026 at 4:36 am

    I just downloaded and web2py runs ok in ubuntu, python 2.7.2+

    bruce@vaiubuntu:~/Downloads/web2py$ python web2py.py

    web2py Web Framework
    Created by Massimo Di Pierro, Copyright 2007-2011
    Version 1.99.4 (2011-12-14 14:46:14) stable
    Database drivers available: SQLite3, pymysql, PostgreSQL
    Starting hardcron...
    

    Are you trying to run web2py on appengine environment?

    Do you have SQLITE module working ok in your Python?

    A possibility is permission issue, your user have permission to write to web2py/* folder?

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

Sidebar

Related Questions

I am trying get all local machine services. But why are some services missing
Trying to get comfortable with jQuery and I have encountered some sample code that
I'm trying get all of the current stack frames and do some inspection on
Trying to get into PostgreSQL. I'm drawing an function that will check credentials Here
Im trying get all my maingroups with its related entities. And i would also
I am trying get my head around how you can run the following php:
I'm trying get all the button child widgets of a window. The buttons were
I am trying get my first simple project in rails to run. I have
I am trying get my hands dirty with async CTP and I noticed that
Trying to get MVC running on Mono 2.4 (which is possible, according to some

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.