You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried for a whole day, read the official documents, and consulted GPT-4, but couldn't find a way to package a specific python script file into an independent executable, Just like what Nuitka does. Can PyOxidizer compile any python file into an independent executable?
`
import cv2
def main():
image_path = '.\photo.jpg'
image = cv2.imread(image_path)
if image is None:
print("not found")
return
cv2.imshow('Original Image', image)
cv2.waitKey(0)
cv2.destroyAllWindows()
if name == 'main':
main()
`
The text was updated successfully, but these errors were encountered:
Tried for a whole day, read the official documents, and consulted GPT-4, but couldn't find a way to package a specific python script file into an independent executable, Just like what Nuitka does. Can PyOxidizer compile any python file into an independent executable?
`
import cv2
def main():
image_path = '.\photo.jpg'
if name == 'main':
main()
`
The text was updated successfully, but these errors were encountered: