Mac SDK python error

Discussion in 'General Questions' started by _Marcus_, Dec 16, 2010.

  1. _Marcus_

    _Marcus_ Bit poster

    Messages:
    2
    Since there seem to be no appropriate groups for this I am posting this here.

    I installed the Mac SDK (ParallelsVirtualizationSDK-parallels-en_US-6.0.11990.621014.dmg) and I tried to run the sample from the documentation (http://download.parallels.com/deskt...irtualization_SDK_Programmers_Guide/27837.htm - very hard to find, why?).

    Unfortunately there seems to be some issue with the shared library perlsdk.so:

    $ ./parallelsapitest.py
    dlopen(/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/prlsdkapi/prlsdk.so, 2): no suitable image found. Did find:
    /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/prlsdkapi/prlsdk.so: mach-o, but wrong architecture
    Traceback (most recent call last):
    File "./parallelsapitest.py", line 16, in <module>
    import prlsdkapi
    File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/prlsdkapi/__init__.py", line 28, in <module>
    raise ImportError, err
    ImportError: Cannot import module "prlsdk" !

    Seems like an issue with processor architecture the library was compiled for. Can someone help?

    Thanks,

    Marcus
     

Share This Page