This could be the problem, since you are probably on CentOS or Redhat
a version of Python < 2.5 will not have hashlib built in

http://pypi.python.org/pypi/hashlib/20060408a

is where you can get one tested on 2.3 and 2.4

I have not had to do something like this yet but I believe site-
packages is probably where you would put it, not sure.

http://groups.google.com/group/web2py-developers/browse_thread/thread/6d8d80437938a4b7

talks about this.

Ron

On Oct 15, 12:50 am, annet <annet.verm...@gmail.com> wrote:
> Massimo and Ron,
>
> When I run python web2py.py I get the following ImportError:
>
> Traceback (most recent call last):
>   File "web2py.py", line 20, in ?
>     import gluon.widget
>   File "/home/fitwise/webapps/web2py/web2py/gluon/widget.py", line 25,
> in ?
>     import main
>   File "/home/fitwise/webapps/web2py/web2py/gluon/main.py", line 62,
> in ?
>     from restricted import RestrictedError
>   File "/home/fitwise/webapps/web2py/web2py/gluon/restricted.py", line
> 18, in ?
>     from utils import web2py_uuid
>   File "/home/fitwise/webapps/web2py/web2py/gluon/utils.py", line 10,
> in ?
>     import hashlib
> ImportError: No module named hashlib
>
> Does this have anything to do with the problem?
>
> Annet.

Reply via email to