Lee,

More good ideas, here's what happens:

ImportError: No module named sitetemplate

I checked easy-install.pth, all file paths look ok to me, no old files
lying around

I added a statement in .bash_profile like this:
export
PATH=$HOME/bin/python/bin:$HOME/lib/bin/:$HOME/lib/lib/python2.4/site-packages/TurboGears0.9a0dev_r646-py2.4.egg:$PATH


I don't like that since it's so version specific, but it didn't work
anyway.

python is in $HOME/lib/lib/python2.4
turbogears is installed via python setup.py install, and it has an egg
in python2.4/site-packages, as seen in the line above.

For verification purposes, here is my easy-install.pth:

/home/.castor/mikez0r/lib/lib/python2.4/site-packages/TestGears-0.2-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/FormEncode-0.4-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/cElementTree-1.0.5_20051216-py2.4-linux-i686.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/elementtree-1.2.6-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/json_py-3.4-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/setuptools-0.6a9-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/nose-0.8.6-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/PyProtocols-1.0a0-py2.4-linux-i686.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/RuleDispatch-0.5a0-py2.4-linux-i686.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/PasteScript-0.4.2-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/simplejson-1.1-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/Cheetah-1.0-py2.4-linux-i686.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/PasteDeploy-0.4-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/Paste-0.4.1-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/kid-0.9a0-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/TurboKid-0.9.0-py2.4.egg
/home/.castor/mikez0r/lib/lib/python2.4/site-packages/TurboGears-0.9a0dev_r646-py2.4.egg

What's a better path to export?

Thanks for your help so far.

-Mike

Reply via email to