CW5 Jupyter error on import chipwhisperer


#1

Hi,

In installed version 5 by following these instructions: https://wiki.newae.com/V5:Installing_ChipWhisperer#Installing_ChipWhisperer_from_Git

I started with the first notebook in the suggested list: PA_Intro_1-Firmware_Build_Setup

When i get to the line “import chipwhisperer as cw”, I get the following error:
File “/Users/laurendemeyer/Documents/Cosic/CW/chipwhisperer/software/chipwhisperer/common/utils/parameter.py”, line 381
print(str(path + [value]) + “,”, file=Parameter.scriptingOutput)
^
SyntaxError: invalid syntax


#2

Hi,

Just to confirm, do you have Python 3 installed? ChipWhisperer 5 won’t work on Python 2.7 or earlier. You should be able to check by running python --version on cmd or git bash.

Alex


#3

That’s it :slight_smile:

Thank you