# Attribute Error

**URL:** https://community.zymbit.com/t/attribute-error/601
**Category:** ZYMKEY4
**Created:** [July 9, 2019, 7:13am UTC](https://community.zymbit.com/t/attribute-error/601 "2019-07-09T07:13:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![smruti800](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@smruti800](https://community.zymbit.com/u/smruti800)
#### Post date: [July 9, 2019, 7:13am UTC](https://community.zymbit.com/t/attribute-error/601/1 "2019-07-09T07:13:07Z")

</div>

Hi,  
I installed ZYMKEY services on my raspberrypi 3 model B+, binding has done properly,but when i run test code i m getting this error

pi@raspberrypi:~ $ python /usr/local/share/zymkey/examples/zk\_app\_utils\_test.py  
Traceback (most recent call last):  
File “/usr/local/share/zymkey/examples/zk\_app\_utils\_test.py”, line 1, in   
import zymkey  
File “/home/pi/.local/lib/python3.5/site-packages/zymkey/ **init**.py”, line 3, in   
from .module import Zymkey  
File “/home/pi/.local/lib/python3.5/site-packages/zymkey/module.py”, line 56, in   
class Zymkey(object):  
File “/home/pi/.local/lib/python3.5/site-packages/zymkey/module.py”, line 578, in Zymkey  
\_zkSetGMTTime = zkalib.zkSetGMTTime  
File “/usr/lib/python3.5/ctypes/ **init**.py”, line 360, in **getattr**  
func = self. **getitem** (name)  
File “/usr/lib/python3.5/ctypes/ **init**.py”, line 365, in **getitem**  
func = self.\_FuncPtr((name\_or\_ordinal, self))  
AttributeError: /usr/local/lib/libzk\_app\_utils.so: undefined symbol: zkSetGMTTime

please help me for this  
thanks in advance

---

<div class="post-metadata">

### Author: ![colporteur](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@colporteur](https://community.zymbit.com/u/colporteur)
#### Post date: [July 9, 2019, 12:33pm UTC](https://community.zymbit.com/t/attribute-error/601/2 "2019-07-09T12:33:18Z")

</div>

Your experience is similar to mine. I am not in the employ of Zymkey but have documented my findings and submitted the experience.  
Sean

> [@ImportError: No module named zymkey](https://community.zymbit.com/t/importerror-no-module-named-zymkey/554):
>
> Completed install. 3sec LED is flashing. Attempted to run test scripts and encountered error. Attempted to manually install module and it failed. How do I install the python module zymkey? python /usr/local/share/zymkey/examples/zk\_app\_utils\_test.py Traceback (most recent call last): File “zk\_app\_utils\_test.py”, lwine 1, in import zymkey ImportError: No module named zymkey sudo pip install zymkey Collecting zymkey Downloading [https://files.pythonhosted.org/packages/39/82/32629bfc4c2a8d…](https://files.pythonhosted.org/packages/39/82/32629bfc4c2a8d048bec0eb22a3be07178d42a7a39d9b68e495fd91bef99/zymkey-0.1.3.tar.gz)

---

<div class="post-metadata">

### Author: ![smruti800](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@smruti800](https://community.zymbit.com/u/smruti800)
#### Post date: [July 9, 2019, 12:51pm UTC](https://community.zymbit.com/t/attribute-error/601/3 "2019-07-09T12:51:10Z")

</div>

You create usr/local/lib folders in usr/lib/python2.7/dist-packages then it seems like  
usr/lib/python2.7/dist-packages/usr/local/lib .  
Then copy libzk\_app\_utils.so file from usr/local/lib and paste it in usr/lib/python2.7/dist-packages/usr/local/lib then test.
