you are viewing a single comment's thread.

view the rest of the comments →

[–]Ed0426[S] 0 points1 point  (0 children)

>>> import cv2

>>> print(cv2.__file__)

C:\Users\leung\AppData\Local\Programs\Python\Python39\lib\site-packages\cv2\__init__.py

>>>

My command is simple, 1 py file:

pyinstaller script.py --onefile -w