Hi,
Can you please resolve my problem statement?
I am working on
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 4
Python 2.4.2 (#1, May 6 2011, 13:26:21)
[GCC 4.1.2 20070115 (SUSE Linux)]
I have built a reconciling tool on Python and using Mako Template Library for HTML reporting.
I downloaded the Mako-1.0.0 library and tried to install it using the following command but encountered the error:
$temp/Mako-1.0.0> python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in ?
from setuptools import setup, find_packages
ImportError: No module named setuptools
as a workaround i have use the following in my code:
sys.path.append('/local/home/clfiqatest2/temp/Mako-1.0.0/')
But i am getting the following error:
Traceback (most recent call last):
File "Calypso.py", line 10, in ?
import mako.template
File "/local/home/clfiqatest2/temp/Mako-1.0.0/mako/template.py", line 10, in ?
from mako.lexer import Lexer
File "/local/home/clfiqatest2/temp/Mako-1.0.0/mako/lexer.py", line 11, in ?
from mako import parsetree, exceptions, compat
File "/local/home/clfiqatest2/temp/Mako-1.0.0/mako/parsetree.py", line 9, in ?
from mako import exceptions, ast, util, filters, compat
File "/local/home/clfiqatest2/temp/Mako-1.0.0/mako/exceptions.py", line 11, in ?
from mako import util, compat
File "/local/home/clfiqatest2/temp/Mako-1.0.0/mako/util.py", line 11, in ?
from mako import compat
File "/local/home/clfiqatest2/temp/Mako-1.0.0/mako/compat.py", line 115, in ?
all = all
NameError: name 'all' is not defined