I would like to use RealVNC python api for one of my script.
So, I am trying to install realVNC for Python on my Windows 7 system. As I read the documentation on realvnc developer site many times, The documentation is not really clear enough. Technically, I've done the following steps;
- I registered on realvnc website
- Next, I downloaded the vncsdk-1.4.0 and extracted on my pc
- Next, I copied "vncsdk.py" file to "C:\Python27\Lib\site-packages"
- Next, I copied "vncsdk.dll" file to "C:\Windows\System32"
- Finally , I created a system variable named "VNCSDK_LIBRARY" and variable value is: "C:\Python27\Lib\site-packages\;C:\Windows\System32\;
But, Unfortunately it does not work for me. When I try to import the module from a python script, it gives me the following error;
>>> import vncsdk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\Lib\site-packages\vncsdk.py", line 144, in <module>
VNCSDK_LIBRARY = _find_library()
File "C:\Python27\Lib\site-packages\vncsdk.py", line 134, in _find_library
raise ImportError("could not find the SDK shared object: VNCSDK_LIBRARY is n
ot a file or directory")
ImportError: could not find the SDK shared object: VNCSDK_LIBRARY is not a file
or directory
>>>
Any helps would be appreciated.