I installed the latest virtualization SDK on Lion & when I tried to use prlsdkapi (python) with Parallels Desktop, I get the following error:
So I dug in to see where prlsdkapi was installed & found it isn site-packages, which was essentially a symlink to the original location:
But that above path doesn't exist & I finally found the right location for it :
But now when I try to rerun my test script, I get the following error:
So I'm either referencing the wrong module or the module itself probably is not compatible with Lion. Any suggestions?
--aditya
Traceback (most recent call last):
File "test.py", line 7, in <module>
import prlsdkapi
ImportError: No module named prlsdkapi
So I dug in to see where prlsdkapi was installed & found it isn site-packages, which was essentially a symlink to the original location:
lrwxr-xr-x 1 root wheel 135 Sep 6 09:56 prlsdkapi -> ../../../../Library/Parallels/Parallels Service.app/Contents/Frameworks/ParallelsVirtualizationSDK.framework/Libraries/Python/prlsdkapi
But that above path doesn't exist & I finally found the right location for it :
prlsdkapi -> ../../../Frameworks/ParallelsVirtualizationSDK.framework/Libraries/Python/prlsdkapi
But now when I try to rerun my test script, I get the following error:
dlopen(/Library/Python/2.7/site-packages/prlsdkapi/prlsdk.so, 2): no suitable image found. Did find:
/Library/Python/2.7/site-packages/prlsdkapi/prlsdk.so: mach-o, but wrong architecture
Traceback (most recent call last):
File "test.py", line 7, in <module>
import prlsdkapi
File "/Library/Python/2.7/site-packages/prlsdkapi/__init__.py", line 22, in <module>
raise ImportError, err
ImportError: Cannot import module "prlsdk" !
So I'm either referencing the wrong module or the module itself probably is not compatible with Lion. Any suggestions?
--aditya