Hello Python CGI

Python Platform: linux2

Python Version Info: sys.version_info(major=2, minor=7, micro=5, releaselevel='final', serial=0)

Python Version: 2.7.5 (default, Oct 3 2024, 12:56:01) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]

site.USER_BASE: /home1/ujcom1/.local

sys.path:

/home1/ujcom1/public_html/ujvista.tw/hello
/usr/lib/python2.7/site-packages/pyzor-1.0.0-py2.7.egg
/usr/lib64/python27.zip
/usr/lib64/python2.7
/usr/lib64/python2.7/plat-linux2
/usr/lib64/python2.7/lib-tk
/usr/lib64/python2.7/lib-old
/usr/lib64/python2.7/lib-dynload
/usr/lib64/python2.7/site-packages
/usr/lib/python2.7/site-packages
--> -->
 
 
<type 'exceptions.ImportError'>
Python 2.7.5: /usr/bin/python
Sat Mar 15 22:18:01 2025

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home1/ujcom1/public_html/ujvista.tw/hello/hello.py in ()
     20    print '%s<br />' % p
     21 
=>   22 import tempita
     23 tmpl = tempita.Template('<h2>Hello {{name}}</h2>')
     24 print tmpl.substitute(name='Uncle Jerry')
tempita undefined

<type 'exceptions.ImportError'>: No module named tempita
      args = ('No module named tempita',)
      message = 'No module named tempita'