Simplecv: error de memoria

Creado en 15 oct. 2017  ·  8Comentarios  ·  Fuente: sightmachine/SimpleCV

¿Podrias ayudarme por favor?
Estoy intentando cargar SimpleCV

Ejecuto el http gethub y se produce un error:

Entrada / salida terminal:

pi @ raspberrypi : ~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
Recopilando https://github.com/sightmachine/SimpleCV/zipball/master
Descargando https://github.com/sightmachine/SimpleCV/zipball/master
| 53,8 MB 1,3 MB / sExcepción:
Rastreo (llamadas recientes más última):
Archivo "/usr/lib/python2.7/dist-packages/pip/basecommand.py", línea 215, en main
status = self.run (opciones, argumentos)
Archivo "/usr/lib/python2.7/dist-packages/pip/commands/install.py", línea 353, en ejecución
wb.build (autobuilding = True)
Archivo "/usr/lib/python2.7/dist-packages/pip/wheel.py", línea 749, en la compilación
self.requirement_set.prepare_files (self.finder)
Archivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", línea 380, en prepare_files
ignore_dependencies = self.ignore_dependencies))
Archivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", línea 620, en _prepare_file
sesión = self.session, hashes = hashes)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 821, en unpack_url
hashes = hashes
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 659, en unpack_http_url
hashes)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 882, en _download_http_url
_download_url (resp, enlace, archivo_contenido, hashes)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 605, en _download_url
consumir (trozos_descargados)
Archivo "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", línea 870, en consume
deque (iterador, maxlen = 0)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 571, en write_chunks
para trozos en trozos:
Archivo "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", línea 139, en iter
para x en él:
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 560, en resp_read
decode_content = Falso):
Archivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", línea 428, en secuencia
para la línea en self.read_chunked (amt, decode_content = decode_content):
Archivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", línea 590, en read_chunked
self._update_chunk_length ()
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", línea 106, en _update_chunk_length
self._fp._close ()
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", línea 50, en _close
self .__ callback (self .__ buf.getvalue ())
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", línea 275, en cache_response
self.serializer.dumps (solicitud, respuesta, cuerpo = cuerpo),
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", línea 87, en vertederos
) .encode ("utf8"),
MemoryError

Comentario más útil

Enfrenté el mismo problema ... resuelto agregando --no-cache-dir a la instalación de pip:

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

Todos 8 comentarios

Hola,
Si alguien puede ayudar en esto ... Estoy trabajando en el escaneo de códigos de barras. Este problema me está dando una pared de ladrillos.
¡Ayudame por favor!

Hola,
Lo siento, no puedo ayudar. Recibo exactamente el mismo error de memoria. Estoy usando una instalación limpia de Raspbian Stretch.
Espero que alguien esté leyendo estos números y pueda ayudar.

Pruebe este sitio y descargue manualmente, funcionó para mí

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

mkdir ~ / Código
cd ~ / Código
git clon git: //github.com/sightmachine/SimpleCV.git
cd SimpleCV
sudo pip install -r requirements.txt
sudo python setup.py desarrollar

@ keefo149 : si hacemos lo que sugiere, obtenemos

Recopilación de PIL (de -r requirements.txt (línea 3))
No se pudo encontrar una versión que cumpla con el requisito PIL (de -r requirements.txt (línea 3)) (de las versiones :)
No se encontró una distribución coincidente para PIL (de -r requirements.txt (línea 3))

Estamos en tramo raspbian.

El (los) mismo (s) problema (s) aquí: MemoryError y no se puede realizar la descarga manual.

Raspberry Pi3 con Stretch

También recibo el mismo error de memoria.

pi @ raspberrypi : ~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
Recopilando https://github.com/sightmachine/SimpleCV/zipball/master
Descargando https://github.com/sightmachine/SimpleCV/zipball/master
| 53,8 MB 7,9 MB / s Excepción:
Rastreo (llamadas recientes más última):
Archivo "/usr/lib/python2.7/dist-packages/pip/basecommand.py", línea 215, en main
status = self.run (opciones, argumentos)
Archivo "/usr/lib/python2.7/dist-packages/pip/commands/install.py", línea 353, en ejecución
wb.build (autobuilding = True)
Archivo "/usr/lib/python2.7/dist-packages/pip/wheel.py", línea 749, en la compilación
self.requirement_set.prepare_files (self.finder)
Archivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", línea 380, en prepare_files
ignore_dependencies = self.ignore_dependencies))
Archivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", línea 620, en _prepare_file
sesión = self.session, hashes = hashes)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 821, en unpack_url
hashes = hashes
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 659, en unpack_http_url
hashes)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 882, en _download_http_url
_download_url (resp, enlace, archivo_contenido, hashes)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 605, en _download_url
consumir (trozos_descargados)
Archivo "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", línea 870, en consume
deque (iterador, maxlen = 0)
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 571, en write_chunks
para trozos en trozos:
Archivo "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", línea 139, en iter
para x en él:
Archivo "/usr/lib/python2.7/dist-packages/pip/download.py", línea 560, en resp_read
decode_content = Falso):
Archivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", línea 428, en secuencia
para la línea en self.read_chunked (amt, decode_content = decode_content):
Archivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", línea 590, en read_chunked
self._update_chunk_length ()
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", línea 106, en _update_chunk_length
self._fp._close ()
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", línea 50, en _close
self .__ callback (self .__ buf.getvalue ())
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", línea 275, en cache_response
self.serializer.dumps (solicitud, respuesta, cuerpo = cuerpo),
Archivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", línea 87, en vertederos
) .encode ("utf8"),
MemoryError
ayuda por favor !

Enfrenté el mismo problema ... resuelto agregando --no-cache-dir a la instalación de pip:

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

@shakeeltariq GRACIAS. Eso salvó mi compilación de rpi.

¿Fue útil esta página
0 / 5 - 0 calificaciones