I am trying to install opencv
via chocolate
package manager for Windows. I get this error:
No directory specified, installing to C:\tools.
To install to a specific directory, pass '/InstallationPath:C:\path\to'. OpenCV will create its own folder within the directory you passed.
You will need to manually create an OPENCV_DIR environment variable then add %OPENCV_DIR%\bin to your PATH.
Alternately, you can rerun this and pass '/Environment:C:\path\to' Follow the OpenCV instructions on their website to figure out which directory you would want.
Downloading OpenCV
from 'https://github.com/opencv/opencv/releases/download/4.1.2/opencv-4.1.2-vc14_vc15.exe'
Progress: 29% - Saving 60.42 MB of 203.48 MB ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/opencv/opencv/releases/download/4.1.2/opencv-4.1.2-vc14_vc15.exe'. Exception calling "Read" with "3" argument(s): "The decryption operation failed, see inner exception."
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of opencv was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\OpenCV\tools\chocolateyinstall.ps1'.
See log for details.