freyr-js icon indicating copy to clipboard operation
freyr-js copied to clipboard

zlib issue. linux mint

Open allinduetime opened this issue 4 months ago • 0 comments

File "<frozen zipimport>", line 601, in _get_decompress_func
│ ModuleNotFoundError: No module named 'zlib'
│ 
│ During handling of the above exception, another exception occurred:
│ 
│ Traceback (most recent call last):
│   File "<frozen zipimport>", line 649, in _get_data
│   File "<frozen zipimport>", line 604, in _get_decompress_func
│ zipimport.ZipImportError: can't decompress data; zlib not available
│ 
│ During handling of the above exception, another exception occurred:
│ 
│ Traceback (most recent call last):
│   File "<frozen runpy>", line 159, in _get_module_details
│   File "<frozen zipimport>", line 137, in get_code
│   File "<frozen zipimport>", line 783, in _get_module_code
│   File "<frozen zipimport>", line 651, in _get_data
│ zipimport.ZipImportError: can't decompress data; zlib not available
│ 
│ The above exception was the direct cause of the following exception:
│ 
│ Traceback (most recent call last):
│   File "<frozen runpy>", line 191, in _run_module_as_main
│   File "<frozen runpy>", line 240, in _get_main_module_details
│   File "<frozen runpy>", line 161, in _get_module_details
│ ImportError: can't decompress data; zlib not available])

and yet

sudo apt install -y zlib1g-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
zlib1g-dev is already the newest version (1:1.3.dfsg-3.1ubuntu2.1).
The following packages were automatically installed and are no longer required:
  libdrm-radeon1:i386 libglapi-mesa:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

i got python from apt-get, i didn't homebrew my python, i dont know whats wrong here, i can't tell if im actually missing the node.js zlib somehow but i doubt it since it mentions runpy, and i can't figure out whats going wrong

allinduetime avatar Aug 21 '25 16:08 allinduetime