-
Notifications
You must be signed in to change notification settings - Fork 896
Recursion when importing cv2 from debugger #689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can get it to work by replacing:
|
Hello @impact27! I see that this problem happens only with If to say about the line in opencv with Maybe something wrong with
|
From the doc (https://docs.python.org/3/library/functions.html#locals): " |
The fix for this issue was merged in 3.4 branch of opencv (opencv/opencv#22269) and will be in 4.x in the next 3.4 -> 4.x merge. The opencv-python package will have this update in the next release. Thank you @impact27! |
Promotion to 4.x: opencv/opencv#22305 |
Expected behaviour
No recursion
Actual behaviour
ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions.
Steps to reproduce
pip install "opencv-python>=4.6"
(works with 4.5)ipython
%debug import cv2
n
Issue submission checklist
opencv-python
The text was updated successfully, but these errors were encountered: