Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release won't run on Ubuntu 22.04 #395

Open
atoav opened this issue Mar 31, 2023 · 2 comments
Open

Release won't run on Ubuntu 22.04 #395

atoav opened this issue Mar 31, 2023 · 2 comments

Comments

@atoav
Copy link

atoav commented Mar 31, 2023

Steps to reproduce:

  1. Download the release 0.2
  2. Unzip
  3. chmod +x CQ-editor.sh
  4. Run with ./CQ-editor.sh

Step 4 fails and produces the following output:

[42288] mod is NULL - pyimod02_archiveTraceback (most recent call last):
  File "PyInstaller/loader/pyimod02_archive.py", line 32, in <module>
ModuleNotFoundError: No module named 'zlib'
[42288] mod is NULL - pyimod03_importersTraceback (most recent call last):
  File "PyInstaller/loader/pyimod03_importers.py", line 26, in <module>
ModuleNotFoundError: No module named 'pyimod02_archive'
Traceback (most recent call last):
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 17, in <module>
ModuleNotFoundError: No module named 'pyimod03_importers'
[42288] Failed to execute script pyiboot01_bootstrap

System Details

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy
$ python -V
Python 3.10.6
$ python3 -V
Python 3.10.6

As a Python dev myself I tend not to install any python package outside of virtual environments. That means my systems python should be pretty much vanilla.

@adam-urbanczyk
Copy link
Member

I stopped with supporting pyinstaller TBH. @jmwright has a pipeline somewhere that produces pyinstaller bundles with the latest version. Maybe try that but YMMV. #386 is the long term solution, but not ETA at this point of time.

@adam-urbanczyk
Copy link
Member

You could also try the nightly build: https://github.com/CadQuery/CQ-editor/releases/tag/nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants