Using ChipWhisperer environment from Python script


I would like to use ChipWhisperer environment from Python script directly.

In fact, I installed a new Python version 3.9, then I installed module with pip3.

“pip3 install chipwhisperer”
“pip3 install usb”

Then, I first migrate the “Setup_Script” (used to check the scope of the connection of the CW-Lite).

I put it in a subprocess before calling python instruction to launch attack but I encountered some errors I don’t understand.

Here is the errors after running the “Setup_Script”.

Is it a driver or folder lack ?

Thanks by advance

It looks like you’ve got an old version of ChipWhisperer. We no longer use/support pyusb. I’d recommend getting ChipWhisperer from git.