AttributeError: 'module' object has no attribute 'application'

1,475 views
Skip to first unread message

matth

unread,
Nov 8, 2008, 1:15:13 PM11/8/08
to web.py
I'm trying to get webpy up and running but I'm getting hung up a bit.
Whenever I run the basic Hello World from webpy.org, I get this:

Traceback (most recent call last):
File "C:\Python\hello.py", line 7, in <module>
app = web.application(urls, globals())
AttributeError: 'module' object has no attribute 'application'

What's up with that?

Aaron Swartz

unread,
Nov 8, 2008, 1:17:57 PM11/8/08
to we...@googlegroups.com
Which version are you running? It looks like you're running 0.23 but
using the instructions for 0.3.

matth

unread,
Nov 8, 2008, 1:25:41 PM11/8/08
to web.py
You got me there, Aaron. Apparently, reading the few lines ahead of
the Cookbook examples would have helped me. Who woulda known?

Anyway, let me play with things a bit and I'll get back in touch.

As a side note, I'm a big PG/YC/HN fan, and I also think it's kinda
cool that you actually respond to community posts (and in less than 2
minutes!).

Take it easy dude.

Ram

unread,
Oct 5, 2011, 8:25:51 PM10/5/11
to we...@googlegroups.com
I am also having same error but using 0.36

Anand Chitipothu

unread,
Oct 11, 2011, 8:23:14 PM10/11/11
to we...@googlegroups.com
2011/10/6 Ram <ramali...@neshinc.com>:

> I am also having same error but using 0.36

What is the version of Python that you are using?

Anand

Ramalingam Namasivayam

unread,
Oct 12, 2011, 1:27:13 AM10/12/11
to we...@googlegroups.com
Version 2.6.5. But my problem solved when I ran it from document root of my domain.


--
You received this message because you are subscribed to the Google Groups "web.py" group.
To post to this group, send email to we...@googlegroups.com.
To unsubscribe from this group, send email to webpy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webpy?hl=en.


Reply all
Reply to author
Forward
0 new messages