Massimo,
I got following error on server:
ImportError: No module named hashlib
So, I got hold of one local machine with python 2.4 and was able to
reproduce the same error. Then, I installed latest hashlib package and
retried. This time I got following error:
ImportError: No module named uuid
And I tried again after installing uuid. But, now I get the following error:
Traceback (most recent call last):
File "web2py.py", line 16, in ?
import gluon.widget
File "/public/shared/web2py/gluon/widget.py", line 24, in ?
import main
File "/public/shared/web2py/gluon/main.py", line 37, in ?
from custom_import import custom_import_install
File "/public/shared/web2py/gluon/custom_import.py", line 125
finally:
^
SyntaxError: invalid syntax
I have two questions now:
- How do I resolve this? I feel that I am making some silly mistake or
do not understand some basic thing.
- If I need to install python pakages to make this work, can I get
around that by putting these packages in site-packages in web2py or by any
other method? I don't explicitly want to ask service provider to install
modules. I would prefer them upgrading to latest python (but that may take
some time).
Thanks & Regards,
Jagmal