우분투 메이트에서 opencv를 설치하는 중 오류가 발생했습니다.

우분투 메이트에서 opencv를 설치하는 중 오류가 발생했습니다.

나는 팔로우하고 있다http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/

Ubuntu Mate 16.04에 Opencv 설치를 위해

에 의해 주어진 단계 2에서2단계: OpenCV 소스 다운로드, 명령에 어떤 문제도 발생하지 않습니다.

$ wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip

그러나 명령을 실행하려고 하면

$ unzip opencv.zip

다음 오류가 발생합니다.

Archive:  opencv.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of opencv.zip or
        opencv.zip.zip, and cannot find opencv.zip.ZIP, period.

결과

du -hsc opencv.zip

다음과 같다

0   opencv.zip
0   total

에 의한 결과

ls -l

내 홈 디렉토리는 다음과 같습니다

3.1.0.zip
3.1.0.zip.1
3.1.0.zip.2
Desktop
Documents
Downloads
Music
op
opencv-3.1.0
opencv_contrib.zip
opencv.zip
Pictures
Public
Templates
Videos
wget-log

폴더를 다운로드하는 중이지만 du 명령으로 얻은 콘텐츠가 없기 때문에 링크에 문제가 있습니까? 대안이 있나요?

답변1

이 시도:

wgethttps://github.com/Itseez/opencv/archive/3.2.0.zip-O opencv-3.2.0.zip

opencv-3.2.0.zip의 압축을 푼다

관련 정보