Hi Brian,

I built with Mac Python 2.5 (I also have Python 2.6 on the same machine) and
it all worked after few tweaks. I initially got the same error you are
getting. I read that error occurs when there is a version conflict somewhere
(maybe you built with one version and running it with another). In fact,
when it crashes if you look at the report you will see lots of ???? in some
of the version info. However, I made sure that the default Mac Python was
2.5 (in my .bash_profile). Built everything using Python 2.5 and it worked.
Also, I'm not sure Numpy is supported on Python 2.6. I read somewhere that
there was no support for it. But that might have been an old post. It might
be fine now.
I can't seem to find anytime to post my notes about step-by-step PyCUDA
installation on mac os x, on the wiki. I hope to do it within 1-2 days!

-massimo

On Wed, Jun 24, 2009 at 1:32 AM, Bryan Catanzaro <[email protected]
> wrote:

> Hello all -
> I'm trying to install PyCuda on OS X 10.5, using Python 2.6 (unfortunately,
> I can't use 2.5 in the project I'm working on.)
> Has anyone successfully installed it with this configuration?  It seems to
> build successfully, but when I try to import pycuda.driver, the python
> interpreter aborts with an error message:
> Fatal Python error: Interpreter not initialized (version mismatch?)
>
> I believe I'm building PyCuda with the Python 2.6 include files, so I'm not
> sure where the version mismatch is coming.  Perhaps from the python boost
> library?  Has anyone seen this error before?
>
> Thanks,
> bryan
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://tiker.net/mailman/listinfo/pycuda_tiker.net
>
>
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to