if (do_name() != 'Home') : ?>
endif ?>
Posted by Clay Wiedemann on Mar 17, 2007
include("util/comment.php"); ?>
Problems Importing decimal Module
Posted by Clay Wiedemann on Mar 16, 2007
I can import math, and random. But I cannot import decimal. I get this message:
ImportError: No module named decimal
I do not have trouble importing decimal outside of NodeBox. I have tried ximport and import __ from to no avail.
Does NodeBox need some configuration?
I am running OSX 10.4 with Python 2.5
Posted by Clay Wiedemann on Mar 17, 2007
Thanks, that was it.
Posted by Mark on Mar 17, 2007
Are you sure nodebox is using 2.5?
Try this to test:
I was having a similar problem and found that node box was using still using the 2.3 default even though I was using 2.5 for everything else. I ended up building nodebox from source which was pretty easy and linking it to my 2.5 install (there is a thread a few down concerning compatibility with other python versions) . Everything now works as expected.