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
问题2
Traceback (most recent call last):
File ".\script\main.py", line 207, in
cv2.imshow('detect', img_show)
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1272: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'
解决方法:重新安装opencv-python
pip uninstall opencv-python-headless
pip uninstall opencv-python
pip uninstall opencv-python
The text was updated successfully, but these errors were encountered:
问题1 polygraphy.exe不存在
![image](https://private-user-images.githubusercontent.com/48894972/241358597-38b70823-d188-4b5e-b0cc-88082211d127.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1Mjk2MjksIm5iZiI6MTcyNDUyOTMyOSwicGF0aCI6Ii80ODg5NDk3Mi8yNDEzNTg1OTctMzhiNzA4MjMtZDE4OC00YjVlLWIwY2MtODgwODIyMTFkMTI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDE5NTUyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI3MmUyY2NlMjVmODc4M2Y3ZTQxNGI0ZjdiMzk1YmJjZGEwMzc5YjUzNGNhNjMwZjI4YTBhMGY1YzY0NmI0ZWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hzSlFqiRUAl385l2pUEFcuUlkPZTFy7tCd6GmYQPkAg)
解决方法:重新安装polygraphy
pip uninstall polygraphy -y
pip install polygraphy
问题2
![image](https://private-user-images.githubusercontent.com/48894972/241358842-71af66f7-f335-491c-bcdd-182e27877a92.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1Mjk2MjksIm5iZiI6MTcyNDUyOTMyOSwicGF0aCI6Ii80ODg5NDk3Mi8yNDEzNTg4NDItNzFhZjY2ZjctZjMzNS00OTFjLWJjZGQtMTgyZTI3ODc3YTkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDE5NTUyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI3ZDBhNjFiOGNiZWZhODdlZWRmMjJiZjc2ZjgyNjJhMWUyYjVmYzljZmIwZjNhNzVmZDdmZjVlNjI5YmJhMjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Uip8vI3_NAlX3j_CKZ--QboMWsjtRjWkYBhtx-BSRnw)
Traceback (most recent call last):
File ".\script\main.py", line 207, in
cv2.imshow('detect', img_show)
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1272: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'
解决方法:重新安装opencv-python
pip uninstall opencv-python-headless
pip uninstall opencv-python
pip uninstall opencv-python
The text was updated successfully, but these errors were encountered: