problem trying to install opencv-contrib-python

asked 2020-11-19 12:00:05 -0600

Upon trying to pip install I get this:


Collecting opencv-contrib-python Using cached Requirement already satisfied: numpy>=1.13.3 in d:\gst\tools\dev-py3\coretech\venvs\pyopencv\lib\site-packages (from opencv-contrib-python) (1.19.4) Installing collected packages: opencv-contrib-python

Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'D:\gst\Tools\dev-py3\coretech\venvs\pyopencv\Lib\site-packages\cv2\cv2.cp36-win_amd64.pyd' Consider using the --user option or check the permissions.


The file identified is on disk with a mode of -a----. Thanks for any help!

edit retag flag offensive close merge delete


Consider using the --user option or check the permissions.

do that

berak gravatar imageberak ( 2020-11-19 12:18:30 -0600 )edit

besides a lack of permissions, windows says "access denied" also if the file is in use. make sure no processes run that could be using this file (it's a dll).

crackwitz gravatar imagecrackwitz ( 2020-11-19 17:02:38 -0600 )edit