ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.
Abierto
Nadie ha tomado este issue todavía.
duplicate
- Lenguaje dominante
- Python
- Estrellas
- 5.4k
- Forks
- 1k
- Merge medio
- 22 h 17 min
- PR fusionados (30 d)
- 3
Descripción
Seeing a similar issue to https://github.com/opencv/opencv-python/issues/432 with opencv-python==4.6.0.66 packaged using pyinstaller==4.4. It works fine when running from source; the issue only occurs when packaged. opencv-python==4.5.5.64 works fine.
My Env:
Ubuntu 16
Python3.8
opencv-python==4.6.0.66
pyinstaller==4.4
Traceback (most recent call last):
File "ftf_app_bambam.py", line 2, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "taskmaster/app_manager.py", line 30, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "hardware/ximea_camera/setup_tools/filter_tuning.py", line 9, in <module>
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "cv2/__init__.py", line 181, in <module>
bootstrap()
File "cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "importlib/__init__.py", line 127, in import_module
applySysPathWorkaround = True
File "PyInstaller/loader/pyimod03_importers.py", line 546, in exec_module
File "cv2/__init__.py", line 181, in <module>
bootstrap()
File "cv2/__init__.py", line 76, in bootstrap
raise ImportError('ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.')
ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.
[11606] Failed to execute script 'ftf_app_bambam' due to unhandled exception!
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.