On 19/04/11 21:18, Yogesh Gupta wrote:
> First few lines of disp.py:
>
> #!/sw64/bin/python2.5
>
> from exp_setup import *

And your exp_setup.py probably imports a whole lot of other python 
modules? Does one of them contain a binary module (also called 
"bundle"), something like _RQconv.so? If yes, did you compile it 
yourself or do you use the precompiled version of _RQconv.so?

The error "Interpreter not initialized (version mismatch?)" appears if 
you try to load a module that was compiled with a different version of 
python, for example if your _RQconv.so was compiled for python2.6.

However, this error can appear even if your module was compiled with the 
right version of python, but with the wrong linker flags. For example on 
python2.5 you get the error if the module was linked with 
libpython2.5.dylib instead of with the python2.5 executable, that is, 
with the linker flags

   -L/sw/lib/python2.5/config -lpython2.5

instead of

   -bundle_loader /sw/bin/python2.5

On python2.6, it is basically the other way round.

-- 
Martin



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to