I have tried to fix this problem for days with help from chatgpt, but without success. I wonder if anyone has ideas?
I'm on ubuntu working from a virtual environment. The code, Astro-FLEX.py, works fine when I just type python Astro-FLEX.py. The code opens a window, displays FITS files using astropy, and then runs astroalign to align the images. So all is well. Now, when I run pyinstaller to create an executable, I cannot do the astroalign part. The code runs through the steps and creates a median at the end, but the actual shifting is not done. In the logger I get a message Error registering image filename.fit Input type for source not supported. I am using pyinstaller --onedir --add-data "/home/irwin/.local/lib/python3.10/site-packages/PyQt5/Qt5/plugins:PyQt5/Qt5/plugins" Astro-FLEX.py but whether or not I include plugins, it still doesn't work. I then booted on windows and get the same behaviour but no error message. Works fine from python but not after pyinstaller. anyone have insight? thanks! Judith -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/425dc6e1-cd20-4ab6-adc7-bd10a6782b63n%40googlegroups.com.
