[Pyrex] [Mac Inter Core Duo OS 10.4.9 ] Next question: cmd line build of init

David Goldsmith David.L.Goldsmith at noaa.gov
Wed Jun 6 14:24:18 UTC 2007


Hi!  OK, I got my pyx to convert to c, I compiled it and linked it.  
When I try to "drive" it w/ a run*.py I get:

ImportError: dynamic module does not define init function

I googled this and found a 2003 thread regarding a soln. that uses 
distutils, which is all well and good, but I'm unfamiliar w/ the use of 
distutils (I know, I know, I need to learn) and regardless, I like to 
know how to build software "by hand" before I use a tool (so that I have 
a better understanding of exactly what the tool is doing).  So, how do I 
solve this problem building my thing at the command line?

Thanks again?

DG
-- 
ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>



More information about the Pyrex mailing list