Hello,
During the CW Husky setup with the iCE40 target using “Connecting to Hardware,” I encountered the following error while uploading the firmware:
AttributeError: ‘array.array’ object has no attribute ‘read’
My computer is running Ubuntu 20.04.6, and I am using Python 3.9.5 with the following core packages:
What I have already done:
- Upgraded all jupyter requirements.txt packages by running
pip install --upgrade --force-reinstall -r requirements.txt
→ The error remained unchanged.
2.Replaced the ‘read’ method above with ‘tobytes’ method.
->The error disappeared, but I obtained some warnings in the next steps.
Anyone have any ideas on this one?
Thanks in advance!