Installing the software

Hi,
I have bought the new HSM-6
I followed the instructions provided on your documentation on how to install the software
However every time I run the test command

python /usr/local/share/zymkey/examples/zk_app_utils_test.py

I receive the following error:

Traceback (most recent call last):
File “zk_crypto_test.py”, line 3, in
import zymkey
File “/usr/local/lib/python2.7/dist-packages/zymkey/init.py”, line 64
CLOUD_ENCRYPTION_KEY: str = “cloud”
^
SyntaxError: invalid syntax

I have tried everything including updating upgrading and reinstalling yet every time I face the same error

Could you please help me or provide guidance on how to overcome this problem

Many thanks for your support

Hi Jak,

Can you try python3 instead of python? I’ll update the online documentation.

Bob

Hey Bob,
Thank you for your prompt response
I tried python3 and i got the same outcome

Many thanks for your help

I can’t reproduce a problem here with python3. Which OS are you using?

cat /etc/os-release
uname -a

And can you try to uninstall and re-install the zku python module, and reboot? The version should be 1.0.25.

sudo pip3 uninstall zku
sudo pip3 install zku
sudo pip3 show zku
reboot