YAY YAY YAY :-)

There was no distribute egg in <site-packages> but I had upgraded my
setuptools as the Leopard Python 2.5 version was too old.  There are notes
that the upgrade is wonky on a Mac because setuptools is sort-of built into
the system...maybe that was the problem.  After the upgrade I had already
noted that easy_install no longer worked.  So...

I deleted 'bin/easy_install' and 'bin/easy_install-2.5', downloaded
distribute.py:
http://pypi.python.org/pypi/distribute#installation-instructions
and ran:
sudo python distribute_setup.py
and now easy_install works.  Next I re-ran:
sudo python setup.py install
for pyCUDA (head)
and now 'python demo.py' works.  W00t.

Many thanks Andreas, all going well I may have results to share in the
future for x-ray physics simulations via pyCUDA.

Regards,
Ian.
ps - I see a discussion here for complex number support, I suspect that I
need complex numbers for the upcoming physics work so I'm keen to see this
supported, I'm happy to help with the testing.

2010/1/8 Andreas Klöckner <[email protected]>

> On Donnerstag 07 Januar 2010, Ian Ozsvald wrote:
> > Are there some files I can manually copy over to force it to work?  I'm
> > happy to help test new installers to iron out the problem but I'd love to
> > take a step forwards (if I'm just missing a few copied files) and
> actually
> > see it running locally.
>
> An easy way to make this work is to hardcode the path to
> pycuda-helpers.hpp as the result of _find_pycuda_include_path().
>
> I noticed an oddity in your install dump. You say you're using
> setuptools, but the install says something about building a "distribute
> egg". See http://wiki.tiker.net/DistributeVsSetuptools for background if
> needed. In a word, I think you have both setuptools and distribute
> installed,
> and in the end only the distutils part of setup.py gets executed, which
> killed the auto-install of pytools and the copying of the header, via
>
>  data_files=[
>      ("include/pycuda", glob.glob("src/cuda/*.hpp"))
>      ],
>
> Andreas
>
>
> _______________________________________________
> PyCUDA mailing list
> [email protected]
> http://tiker.net/mailman/listinfo/pycuda_tiker.net
>
>


-- 
Ian Ozsvald (Professional Screencaster)
[email protected]

http://ProCasts.co.uk/examples.html
http://TheScreencastingHandbook.com
http://IanOzsvald.com + http://ShowMeDo.com
http://twitter.com/ianozsvald
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to