informramiz / opencv-face-recognition-python

Face Recognition using OpenCV and Python.
MIT License
513 stars 350 forks source link

can't install opencv-contrib-python #21

Open Asma-Hawari opened 5 years ago

Asma-Hawari commented 5 years ago

I made a virtual environment and installed OpenCV but I found out that I need to install opencv-contrib-python and I'm getting this error message: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\users\asmah\envs\opencv\Lib\site-packages\cv2\cv2.cp36-win_amd64.pyd' Consider using the --user option or check the permissions. I tried using '--user' but I got this error message: Can not perform a '--user' install. User site-packages are not visible in this virtualenv. What should I do?

ChetanMediboyina commented 5 years ago

Hey Asma, if you are having any other python sessions active close them and then try it. It may work as it worked out for me.