-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/20/2011 03:43 PM, AwaisMuzaffar wrote: > When trying to use Mako with the Pyramid framework, by going into the > development.ini file, and adding the line > > mako.directories = testProject:templates > > in: > > [app:testProject] > > and then creating a simple html file called template.mako in the > templates subdirectory I get an: > > ImportError: No module named testProject > > But I fail to understand why this is happening after the above steps. > Why are those steps generating an importError?
Have you run '/path/to/python setup.py develop' on your 'testProject'? Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1ibn8ACgkQ+gerLs4ltQ7cmQCfQTrUBiLuTZ2TTOmw/sI7J8/6 eUMAn3aoLS+LtC+bLW1sypbTuKdgYHQ7 =RtP/ -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.