
Ich folgehttp://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/
für die Installation von Opencv auf Ubuntu Mate 16.04
Im Schritt 2 gegeben durchSchritt 2: Laden Sie die OpenCV-Quelle herunter, ich habe keine Probleme mit dem Befehl
$ wget -O opencv.zip https://github.com/Itseez/opencv/archive/3.1.0.zip
Wenn ich jedoch versuche, den Befehl auszuführen
$ unzip opencv.zip
Ich erhalte die folgende Fehlermeldung
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.
Ergebnisse von
du -hsc opencv.zip
sind wie folgt
0 opencv.zip
0 total
Ergebnis von
ls -l
in meinem Home-Verzeichnis ist wie folgt
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
Stimmt etwas mit dem Link nicht, da der Ordner zwar heruntergeladen wird, aber keinen Inhalt hat, wie vom du-Befehl abgerufen. Gibt es Alternativen?
Antwort1
Versuche dies:
wgethttps://github.com/Itseez/opencv/archive/3.2.0.zip-O opencv-3.2.0.zip
entpacken Sie opencv-3.2.0.zip