When I run my Python code in Visual Studio, this warning message appears and continues to work, but when I convert my code to exe, it closes instantly without giving any error.
[ WARN:firstname.lastname@example.org] global D:\a\opencv-python\opencv-python\opencv\modules\core\src\ocl.cpp (1020) cv::ocl::OpenCLExecutionContext::Impl::getInitializedExecutionContext OpenCL: Can't initialize OpenCL context/device/queue: unknown C++ exception
What you saw at the beginning
[WARN:email@example.com ] every time I run the program, the part consisting of numbers changes.
Can someone tell me exactly what I should do? My video card is not good. and I don’t use C++ in my code,
When I run it in debug mode, there are no problems when I run it in normal mode, there are no problems, only a warning message comes, but when it to exe, it closes instantly without giving any errors.