PyInstaller-Converted .exe File Not Saving Output Images as Expected #8132
Replies: 3 comments 9 replies
-
What are the paths in |
Beta Was this translation helpful? Give feedback.
-
Ok. I followed your recommendations. However, nothing was printed on the console during or after running the code. Only the two subfolders were made. Besides, I searched the hard drive, but did not find any output image with the similar name I expected.
|
Beta Was this translation helpful? Give feedback.
-
I removed all "Try-Exceptions" from this part of the code, so the bellow message was appeared on the console: "hello Should I include the "from skimage import segmentation" in my code? Currently, the .py code is run with no error. |
Beta Was this translation helpful? Give feedback.
-
After converting my .py code to an .exe file, I encountered an issue where running the .exe file does not save the output images in the designated output folders. My code includes three simple and parallel image processing methods, with images being saved successfully by two methods, but encountering an issue with the third method (only in the .exe version).
The following commands are effectively saving the output images:
output_image_path = os.path.join(Cropped_images, original_filename)
or this one in another method:
However, the third method fails to save anything (running the .py version does not exhibit this problem):
I would appreciate any guidance or suggestions on resolving this issue.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions