Simplecv: Speicherfehler

Erstellt am 15. Okt. 2017  ·  8Kommentare  ·  Quelle: sightmachine/SimpleCV

Kannst du bitte helfen?
Ich versuche SimpleCV zu laden

Ich führe das Gethub http aus und es irrt:

Klemmeneingang/-ausgang:

pi@raspberrypi :~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
Sammeln https://github.com/sightmachine/SimpleCV/zipball/master
Herunterladen von https://github.com/sightmachine/SimpleCV/zipball/master
| 53,8 MB 1,3 MB/sAusnahme:
Traceback (letzter Anruf zuletzt):
Datei "/usr/lib/python2.7/dist-packages/pip/basecommand.py", Zeile 215, in main
status = self.run(Optionen, Argumente)
Datei "/usr/lib/python2.7/dist-packages/pip/commands/install.py", Zeile 353, in Run
wb.build(autobuilding=True)
Datei "/usr/lib/python2.7/dist-packages/pip/wheel.py", Zeile 749, im Build
self.requirement_set.prepare_files(self.finder)
Datei "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", Zeile 380, in Prepare_files
ignore_dependencies=self.ignore_dependencies))
Datei "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", Zeile 620, in _prepare_file
session=self.session, hashes=hashes)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 821, in unpack_url
hashes = hashes
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 659, in unpack_http_url
Hashes)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 882, in _download_http_url
_download_url(bzw. Link, Inhaltsdatei, Hashes)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 605, in _download_url
konsumieren (heruntergeladene_chunks)
Datei "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", Zeile 870, in Konsum
deque(Iterator, maxlen=0)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 571, in wrote_chunks
für Stück in Stücken:
Datei "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", Zeile 139, in iter
für x darin:
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 560, in resp_read
decode_content=Falsch):
Datei "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", Zeile 428, im Stream
für Zeile in self.read_chunked(amt, decode_content=decode_content):
Datei "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", Zeile 590, in read_chunked
self._update_chunk_length()
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", Zeile 106, in _update_chunk_length
self._fp._close()
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", Zeile 50, in _close
self.__callback(self.__buf.getvalue())
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", Zeile 275, in cache_response
self.serializer.dumps(Anfrage, Antwort, Körper=Körper),
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", Zeile 87, in Dumps
).encode("utf8"),
Speicherfehler

Hilfreichster Kommentar

Hatte das gleiche Problem ... gelöst durch Hinzufügen von --no-cache-dir zur Pip-Installation:

sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master --no-cache-dir

Alle 8 Kommentare

Hi,
Wenn jemand helfen kann.. Ich arbeite am Barcode-Scannen. Dieses Problem gibt mir eine Ziegelmauer.
Hilf mir bitte!

Hi,
Tut mir leid, dass ich nicht helfen kann - ich erhalte genau den gleichen Speicherfehler. Ich verwende eine saubere Installation von Raspbian Stretch.
Ich hoffe, jemand liest diese Probleme, der helfen kann.

Probieren Sie diese Seite aus und laden Sie sie manuell herunter, bei mir hat es funktioniert

http://simplecv.readthedocs.io/en/latest/HOWTO-Install%20on%20RaspberryPi.html

mkdir ~/Code
cd ~/Code
git-Klon git://github.com/sightmachine/SimpleCV.git
cd SimpleCV
sudo pip install -r anforderungen.txt
sudo python setup.py entwickeln

@keefo149 : Wenn wir tun, was Sie vorschlagen, bekommen wir

Sammeln von PIL (aus -r requirements.txt (Zeile 3))
Es konnte keine Version gefunden werden, die die Anforderungs-PIL erfüllt (von -r requirements.txt (Zeile 3)) (von Versionen: )
Keine passende Distribution für PIL gefunden (aus -r Requirements.txt (Zeile 3))

Wir sind auf der Raspbian-Strecke.

Gleiche(s) Problem(e) hier - MemoryError und kann den manuellen Download nicht durchführen.

Raspberry Pi3 mit Stretch

Ich erhalte auch den gleichen Speicherfehler.

pi@raspberrypi :~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
Sammeln https://github.com/sightmachine/SimpleCV/zipball/master
Herunterladen von https://github.com/sightmachine/SimpleCV/zipball/master
| 53,8 MB 7,9 MB/sAusnahme:
Traceback (letzter Anruf zuletzt):
Datei "/usr/lib/python2.7/dist-packages/pip/basecommand.py", Zeile 215, in main
status = self.run(Optionen, Argumente)
Datei "/usr/lib/python2.7/dist-packages/pip/commands/install.py", Zeile 353, in Run
wb.build(autobuilding=True)
Datei "/usr/lib/python2.7/dist-packages/pip/wheel.py", Zeile 749, im Build
self.requirement_set.prepare_files(self.finder)
Datei "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", Zeile 380, in Prepare_files
ignore_dependencies=self.ignore_dependencies))
Datei "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", Zeile 620, in _prepare_file
session=self.session, hashes=hashes)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 821, in unpack_url
hashes = hashes
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 659, in unpack_http_url
Hashes)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 882, in _download_http_url
_download_url(bzw. Link, Inhaltsdatei, Hashes)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 605, in _download_url
konsumieren (heruntergeladene_chunks)
Datei "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", Zeile 870, in Konsum
deque(Iterator, maxlen=0)
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 571, in wrote_chunks
für Stück in Stücken:
Datei "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", Zeile 139, in iter
für x darin:
Datei "/usr/lib/python2.7/dist-packages/pip/download.py", Zeile 560, in resp_read
decode_content=Falsch):
Datei "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", Zeile 428, im Stream
für Zeile in self.read_chunked(amt, decode_content=decode_content):
Datei "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", Zeile 590, in read_chunked
self._update_chunk_length()
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", Zeile 106, in _update_chunk_length
self._fp._close()
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", Zeile 50, in _close
self.__callback(self.__buf.getvalue())
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", Zeile 275, in cache_response
self.serializer.dumps(Anfrage, Antwort, Körper=Körper),
Datei "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", Zeile 87, in Dumps
).encode("utf8"),
Speicherfehler
Hilfe bitte !

Hatte das gleiche Problem ... gelöst durch Hinzufügen von --no-cache-dir zur Pip-Installation:

sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master --no-cache-dir

@shakeeltariq DANKE. Das hat meinen rpi-Build gerettet.

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen