On Tue, Jul 3, 2012 at 11:16 AM, joseph jaouen <joseph_jao...@yahoo.fr> wrote:
> Thank you very much for your answear Jaap
> I get this error when I run zim.py from the extracted source directory with
> xterm
> Here is the command line I used:
>
> bash-3.2$ cd Desktop/zim/zim-0.56
> bash-3.2$ python2.6 ./zim.py
>
> I also tried with python 2.5 and 2.7 without success

I think in that case you should try "PYTHONPATH=. python2.6 ./zim.py".
By setting the PYTHONPATH environment variable you force python to
also consider the source folder when looking for libraries.

Probably I should fix the script to ensure this is done automatically.
Kind of assumed that python always looks into local folder, but
apparently it is configured differently on OSX.

Regards,

Jaap

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to