No module named 'zlib' #276
-
I am trying to build hss on the rchd-pf board but i couldn't solve this no module named 'zlib' issue. Also I checked PATH and board directives. Issue screenshot belong at attach. Thanks in advance for your help |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hey @Mendandukka this seems to be a set up issue, I don't think its directly related to the HSS, have a look at this issue |
Beta Was this translation helpful? Give feedback.
-
thanks for suggestions but i already checked zlib file and it was included in python (for providing i tried import zlib in shell with run python). |
Beta Was this translation helpful? Give feedback.
-
Thanks for advising, it's really work i thought if i used command line on hss file. Do you have any suggestion for work in IDE? Because i don't know any idea for how can boot system and return with command line. |
Beta Was this translation helpful? Give feedback.
-
To summarize this issue and the possible solutions: Building the HSS using SoftConsole on Linux can fail, this isn't seen using Windows. The primary issue is This issue will present with the following error: “ModuleNotFoundError: No module named ‘zlib’” There are several work arounds for this issue:
|
Beta Was this translation helpful? Give feedback.
To summarize this issue and the possible solutions:
Building the HSS using SoftConsole on Linux can fail, this isn't seen using Windows. The primary issue is
zlib
not being included in the Python3 implementation bundled with SoftConsole.This issue will present with the following error:
“ModuleNotFoundError: No module named ‘zlib’”
There are several work arounds for this issue:
Update the SoftConsole Python3 path to point to the OS Python instead of the SoftConsole bundled Python:
export PYTH…