The following wont run, how do I fix the errors at the bottom ? I’m trying to test the perimeter dectection.
cat testz.py
import zymkey
import time
zymkey.client.clear_perimeter_detect_info()
while True:
print(zymkey.client.get_perimeter_detect_info())
time.sleep(1)
sudo pip install zymkey
Requirement already satisfied: zymkey in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: cmdline>=0.1.8 in /usr/local/lib/python2.7/dist-packages (from zymkey)
Requirement already satisfied: sh>=1.11 in /usr/local/lib/python2.7/dist-packages (from zymkey)
Requirement already satisfied: PyYAML>=3 in /usr/local/lib/python2.7/dist-packages (from cmdline>=0.1.8->zymkey)
python testz.py
Traceback (most recent call last):
File “testz.py”, line 1, in
import zymkey
File “/usr/local/lib/python2.7/dist-packages/zymkey/init.py”, line 3, in
from .module import Zymkey
File “/usr/local/lib/python2.7/dist-packages/zymkey/module.py”, line 50, in
raise ZymkeyLibraryError(‘unable to find {}, checked {}’.format(os.path.basename(ZYMKEY_LIBRARY_PATH), prefixes))
zymkey.exceptions.ZymkeyLibraryError: unable to find libzk_app_utils.so, checked [’/usr/lib/python2.7/dist-packages/usr/local/lib’, ‘/usr/local/lib’]