← Back to team overview

dolfin team mailing list archive

Re: error with instant

 

Can you be more spesific ? 

Do eg. the follow work 


from instant import inline

add_func = inline("double add(double a, double b){ return a+b; }") 

print "The sum of 3 and 4.5 is ", add_func(3, 4.5)  



On ti., 2008-08-19 at 15:59 -0400, Shawn Walker wrote:
> Hello, I can't seem to run any of the tests with `instant'.  I get errors 
> that look like this:
> 
> undefined symbol: Py_InitModule4
> 
> I read somewhere that if you have multiple Python versions installed, this 
> could cause the problem.  I have 2.4 and 2.5 installed, but I am using 
> 2.5.  I had to do this because the default Python was 2.4 for all the 
> computers.  Does anyone know what to do here?
> 
> - Shawn
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev



Follow ups

References