[PyCUDA] pycuda 0.93 - Snow Leopard - error: invalid command 'bdist_egg'

Daniel Kubas dkubas at gmail.com
Sat Mar 6 11:46:03 PST 2010


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
>
>   





More information about the PyCUDA mailing list