Many errors using ChipWhisperer library 6.0.0 in python application

After reading the fragmented documentation of Husky, I’m trying to create a python script to use ChipWhisperer Husky under VisualStudioCode.

I have installed the python library using PIP in VENV (3.13.2 .venv) as described in chipwhisperer·PyPI but a lot of errors are coming during the use, many problems never encountered with ChipWhisperer Lite

print(scope) doesn’t work

errors printing doesn’t work

errors clearing doesn’t work

From the following link I have tested the imports and get the error

image

What is the source of all these problems?
If I’m not wrong Jupiter is using the old 5.7.0 Version of the library, I’m right?
Can someone help ?

Best regards

Just like in the post that you linked to, it looks like the root of your problems is that you’re missing the setuptools package.

Let me know if that doesn’t fix things for you.

BTW all Husky documentation is on readthedocs now. What do you find to be fragmented?

Thank you for the fast reply, but I don’t have idea about the way to install and find setuptools. I readed the answer of the other post but is not described how to fix setuptools if I’m not wrong.
Can you give a short step by step of how to do that?

pip install setuptools

Is that all? I thought it was something related to chipwhisperer library. The solution seems easier than expected. I’ll try tomorrow. Thanks.

Ran into the same issue, adding setuptools did the trick.