I'm trying to install opencv-contrib-python
, following the steps here.
On Pycharm, the line import cv2
causes my script to exit with Process finished with exit code -1073741819 (0xC0000005)
. On the console, it fails silently.
I've run through all the FAQs:
I created a new virtual environment (Python 3.8) to ensure I had no conflicting OpenCV installations. Pip does not fail on installation, and I get no Windows import errors.
My only .pyd
file in C:\Users\user\PycharmProjects\ComputerVision\venv\Lib\site-packages\cv2
is cv2.cp38-win_amd64.pyd
. I have debugged missing DLLs using Dependencies and found none, though I'm no expert. If it's of help, the "Hint" for the address given, 0xC0000005
, is PyArena_AddPyObject
.
I appreciate this is likely a system error on my end, but any help would be much appreciated.
User contributions licensed under CC BY-SA 3.0