Skip to content

No module named 'zlib' #276

Discussion options

You must be logged in to vote

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:

  1. Update the SoftConsole Python3 path to point to the OS Python instead of the SoftConsole bundled Python:

    • Open the [SoftConsole installation directory]/softconsole.sh file in a text editor
    • Under “# Setting environment” modify “PYTHONPATH” and “MACRO_PYTHON_BINARY_PATH” to point to the OS Python. E.g:
      • export PYTH…

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@hughbreslin
Comment options

@Mendandukka
Comment options

@hughbreslin
Comment options

@TommyMurphyTM1234
Comment options

@hughbreslin
Comment options

Comment options

You must be logged in to vote
2 replies
@hughbreslin
Comment options

@Mendandukka
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hughbreslin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants