Hi Daniel. I'm just about to fly out of the country for a while so
I'll just chip in briefly...you're on Snow Leopard and other people
have had trouble with 32 bit vs 64 bit compiles in the past. Have you
confirmed that your CUDA and pyCUDA (and Python?) are both either 32
bit or 64 bit (but not mixed)?

Ian.

On 6 March 2010 19:46, Daniel Kubas <dku...@gmail.com> wrote:
> Dear Andreas,
>
> thanks for the fast response!
>
> after removing all previous setup tools  via
>
> sudo rm -Rf  /Library/Python/2.6/site-packages/setup*
>
> and downloading http://pypi.python.org/pypi/distribute  version 0.6.10  and
> installing
>
> sudo python distribute_setup.py
>
> the pycuda sudo make install finishes without crash.
>
> But I can't open the champagne yet,   when trying to execute the test
>
> [hal:~/pool/pycuda-0.93/test] dkubas% python test_driver.py
> Traceback (most recent call last):
>  File "test_driver.py", line 3, in <module>
>   import pycuda.autoinit
>  File
> "/Library/Python/2.6/site-packages/pycuda-0.93-py2.6-macosx-10.6-i386.egg/pycuda/autoinit.py",
> line 1, in <module>
>   import pycuda.driver as cuda
>  File
> "/Library/Python/2.6/site-packages/pycuda-0.93-py2.6-macosx-10.6-i386.egg/pycuda/driver.py",
> line 1, in <module>
>   from _driver import *
> ImportError:
> dlopen(/Library/Python/2.6/site-packages/pycuda-0.93-py2.6-macosx-10.6-i386.egg/pycuda/_driver.so,
> 2): no suitable image found.  Did find:
>
> /Library/Python/2.6/site-packages/pycuda-0.93-py2.6-macosx-10.6-i386.egg/pycuda/_driver.so:
> mach-o, but wrong architecture
>
>
> I get a "wrong architecture"  :(
>
> giving up for today,
>
> cheers, Daniel
>
>
>
>
> Andreas Klöckner wrote:
>>
>> On Samstag 06 März 2010, Daniel Kubas wrote:
>>
>>>
>>> Dear Mac-Pycuda users
>>>
>>> did someone of you encounter a
>>>
>>> error: invalid command 'bdist_egg'
>>>
>>> during sudo make install ?
>>>
>>> below my setup and more details of the error,
>>>
>>> thanks a million in advance for your help,
>>>
>>> cheers, Daniel
>>>
>>
>> I'm not sure, but this could partly be a result of the
>> setuptools/distribute disaster. See
>> http://wiki.tiker.net/DistributeVsSetuptools
>> and try to use distribute instead of setuptools.
>>
>> HTH,
>> Andreas
>>
>>
>
>
> _______________________________________________
> PyCUDA mailing list
> pyc...@host304.hostmonster.com
> http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net
>



-- 
Ian Ozsvald (A.I. researcher, screencaster)
i...@ianozsvald.com

http://IanOzsvald.com
http://morconsulting.com/
http://TheScreencastingHandbook.com
http://ProCasts.co.uk/examples.html
http://twitter.com/ianozsvald

_______________________________________________
PyCUDA mailing list
pyc...@host304.hostmonster.com
http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net

Reply via email to