[Setup] PythonPath and CacheFu

Ricardo Newbery ric at digitalmarbles.com
Tue Dec 11 22:38:00 UTC 2007


On Dec 11, 2007, at 12:10 PM, brettwiese wrote:

>
> I'm trying to setup CacheFu with Squid Support
>
> I'm at the step where you make the configuration using
> 'python makeconfig'
>
> I then get the message;
> 'Unable to import PageTemplateFile.  This probably means
> that you need to add ~zope/lib/python to your python path.
> Try 'export PYTHONPATH=$PYTHONPATH:/path/to/Zope/lib/python'
> where the Zope in question is version 2.8+ (you can use CacheFu
> for Zope 2.7 also, but you need Zope 2.8 to run makeconfig.py)'
>
> So, I ran the command:
> 'export PYTHONPATH=$PYTHONPATH:/opt/Plone-3.0.4/lib/python/zope'
>
> Is this the right folder to point to?
> Or is the syntax wrong?
>
> I'm rather new to Plone (let alone CacheFu) so please be patient!
> Thanks!
>
> -Brett


Use 'export PYTHONPATH=$PYTHONPATH:/opt/Plone-3.0.4/lib/python'

Ric





More information about the Setup mailing list