Hi I'm trying to use some of the effects, that use Python. I am working on a Mac with ppc chip, OS 10.4, using X11 interface. I have worked my way through several out of place modules in my python frame work, but have bumped up against a wall. The trace back is saying .....File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/xml, from xml.utils import boolean. ImportError: cannot import name boolean. I would appreciate any help? Please. Daniel Culver danielculver@...107...
Daniel Culver wrote:
I'm trying to use some of the effects, that use Python. I am working on a Mac with ppc chip, OS 10.4, using X11 interface. I have worked my way through several out of place modules in my python frame work, but have bumped up against a wall. The trace back is saying .....File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml, from xml.utils import boolean. ImportError: cannot import name boolean. I would appreciate any help? Please.
I really don't know what it takes to get this working on mac. Have you installed PyXML?
Aaron Spike
Yes, I have installed PyXML-0.8.4, which on Apple doesn't go where needed. I had to take the scripts or modules (I'm not sure what Python people call them) and move them in terminal to the appropriate directories in the existing /System/Library/Frameworks/ Python.framework/Versions/Current directory. I've traced back a lot of the scripts to their correct directory but I've hit a wall with the boolean. There is a script called boolean.c in the correct directory but it doesn't run with the import command from the conversions.py script. I've tried to run boolean.c from the terminal window and get back that it doesn't contain a shebang line. That is were I'm at; since I don't have experience writing code I feel stuck. I can do anything else necessary to administer my system. If anybody knows about this boolean script I would appreciate hearing from you. Thank you Aaron Spike for trying to help. On Mar 15, 2006, at 10:11 AM, Aaron Spike wrote:
Daniel Culver wrote:
I'm trying to use some of the effects, that use Python. I am working on a Mac with ppc chip, OS 10.4, using X11 interface. I have worked my way through several out of place modules in my python frame work, but have bumped up against a wall. The trace back is saying .....File "/System/Library/Frameworks/ Python.framework/Versions/2.3/lib/python2.3/xml, from xml.utils import boolean. ImportError: cannot import name boolean. I would appreciate any help? Please.
I really don't know what it takes to get this working on mac. Have you installed PyXML?
Aaron Spike
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Daniel Culver wrote:
There is a script called boolean.c in the correct directory but it doesn't run with the import command from the conversions.py script. I've tried to run boolean.c from the terminal window and get back that it doesn't contain a shebang line.
boolean.c looks like a module written in C that needs to be compiled for python to use it. On Win32 I have a file:
C:\Python24\Lib\site-packages_xmlplus\utils\boolean.pyd
Aaron Spike
Thanks Aaron, I am going to reinstall my X-code tools, I think the C compiler may be missing. I'll let you know. Dan On Mar 15, 2006, at 11:12 AM, Aaron Spike wrote:
Daniel Culver wrote:
There is a script called boolean.c in the correct directory but it doesn't run with the import command from the conversions.py script. I've tried to run boolean.c from the terminal window and get back that it doesn't contain a shebang line.
boolean.c looks like a module written in C that needs to be compiled for python to use it. On Win32 I have a file:
C:\Python24\Lib\site-packages_xmlplus\utils\boolean.pyd
Aaron Spike
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (2)
-
Aaron Spike
-
Daniel Culver