noah-peeters / ChimpStackr

free, multi-platform focus stacking software
GNU General Public License v3.0
74 stars 8 forks source link

Won't launch on Linux: ModuleNotFoundError: No module named 'PySide6' #147

Open Pyroglyph opened 11 months ago

Pyroglyph commented 11 months ago

Describe the bug Launching on Linux does not work, and produces this error instead:

Traceback (most recent call last):
  File "/tmp/.mount_ChimpSs1KiNd/usr/src/run.py", line 2, in <module>
    import PySide6.QtCore as qtc
ModuleNotFoundError: No module named 'PySide6'

To Reproduce Open the AppImage.

Expected behavior ChimpStackr opens.

Desktop

mw-turks commented 10 months ago

/ChimpStackr-latest-x86_64.AppImage --appimage-extract

vim squashfs-root/AppRun.env PYTHONPATH=$APPDIR/usr/lib/python3.8/site-packages --> PYTHONPATH=$APPDIR/usr/lib/python3.10/site-packages

wget "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" chmod +x appimagetool-x86_64.AppImage ./appimagetool-x86_64.AppImage squashfs-root

./ChimpStackr-x86_64.AppImage

noah-peeters commented 10 months ago

Hi Thanks @mw-turks . I added the patch to the appimage build, and it seems to work now. Latest release: https://github.com/noah-peeters/ChimpStackr/releases/tag/v0.0.41

MlCHEL1234 commented 4 months ago

Thanks for showing the solution. On OpenSuSE tumbleweed it works too. I think for newer python-versions i am right, when i think changing the path to the actual version should always work? Thanks Michael