Sure, here is what I get: [ca...@dewey] (17)$ python 'import site' failed; use -v for traceback Python 2.5.2 (r252:60911, Apr 28 2008, 11:29:55) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import time Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named time >>>
Is this something I should inform the system admins about? What do I tell them? On Jul 19, 6:03 pm, Primoz Anzur <[email protected]> wrote: > Time is a core module... Can you test, if the core python works like it > should? (E.g. write import time in python CLI) > > On 19 Jul 2010 22:24, "Caden" <[email protected]> wrote: > > Hi, > > I am running my web.py based application successfully in Debian Linux, > but I decided to try to load it up on one of the Red Hat Enterprise > Linux machines at school and am unable to get it to work. Here is the > error: > > Traceback (most recent call last): > File "./switzerland/client/webgui/WebGUI.py", line 8, in <module> > import web > File "/u/c/a/caden/python/web/__init__.py", line 7, in <module> > import utils, db, net, wsgi, http, webapi, httpserver, debugerror > File "/u/c/a/caden/python/web/utils.py", line 34, in <module> > import time > ImportError: No module named time > > Because I don't have root on this machine, I put web.py in a lib > directory I added to my home directory and added to the python path. > I'm using python 2.5.2 but I also tried 2.6.2 and got the same error. > I did a unix find on the python installation directory and couldn't > find any module called time.py. Does anyone have any suggestions? > > Thanks, > > Caden > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <webpy%[email protected]>. > For more options, visit this group > athttp://groups.google.com/group/webpy?hl=en. -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
