Simplecv: erro de memória

Criado em 15 out. 2017  ·  8Comentários  ·  Fonte: sightmachine/SimpleCV

Poderia ajudar por favor?
Estou tentando carregar SimpleCV

Eu corro o gethub http e ele apresenta um erro:

Entrada / saída do terminal:

pi @ raspberrypi : ~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
Coletando https://github.com/sightmachine/SimpleCV/zipball/master
Baixando https://github.com/sightmachine/SimpleCV/zipball/master
| 53,8 MB 1,3 MB / s Exceção:
Traceback (última chamada mais recente):
Arquivo "/usr/lib/python2.7/dist-packages/pip/basecommand.py", linha 215, no principal
status = self.run (opções, argumentos)
Arquivo "/usr/lib/python2.7/dist-packages/pip/commands/install.py", linha 353, em execução
wb.build (autobuilding = True)
Arquivo "/usr/lib/python2.7/dist-packages/pip/wheel.py", linha 749, em compilação
self.requirement_set.prepare_files (self.finder)
Arquivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", linha 380, em prepare_files
ignore_dependencies = self.ignore_dependencies))
Arquivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", linha 620, em _prepare_file
sessão = self.session, hashes = hashes)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 821, em unpack_url
hashes = hashes
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 659, em unpack_http_url
hashes)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 882, em _download_http_url
_download_url (resp, link, content_file, hashes)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 605, em _download_url
consumir (baixado_chunks)
Arquivo "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", linha 870, em consumo
deque (iterador, maxlen = 0)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 571, em notas_escritas
para pedaços em pedaços:
Arquivo "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", linha 139, no iter
para x nele:
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 560, em resp_read
decode_content = False):
Arquivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", linha 428, no fluxo
para linha em self.read_chunked (amt, decode_content = decode_content):
Arquivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", linha 590, em read_chunked
self._update_chunk_length ()
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", linha 106, em _update_chunk_length
self._fp._close ()
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", linha 50, em _close
self .__ callback (self .__ buf.getvalue ())
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", linha 275, em cache_response
self.serializer.dumps (solicitação, resposta, corpo = corpo),
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", linha 87, em despejos
) .encode ("utf8"),
MemoryError

Comentários muito úteis

Enfrentou o mesmo problema ... resolvido adicionando --no-cache-dir à instalação do pip:

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

Todos 8 comentários

Oi,
Se alguém puder ajudar nisso .. Estou trabalhando na digitalização de código de barras. Este problema está me dando uma barreira.
Ajude-me, por favor!

Oi,
Desculpe, não posso ajudar - estou recebendo exatamente o mesmo Erro de memória. Estou usando uma instalação limpa do Raspbian Stretch.
Espero que alguém esteja lendo essas edições, que possa ajudar.

Experimente este site e baixe manualmente, funcionou para mim

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

mkdir ~ / Code
cd ~ / Code
git clone git: //github.com/sightmachine/SimpleCV.git
cd SimpleCV
sudo pip install -r requisitos.txt
sudo python setup.py development

@ keefo149 : se fizermos o que você sugere, obtemos

Coletando PIL (de -r requisitos.txt (linha 3))
Não foi possível encontrar uma versão que satisfaça o requisito PIL (de -r requisitos.txt (linha 3)) (das versões:)
Nenhuma distribuição correspondente encontrada para PIL (de -r requisitos.txt (linha 3))

Estamos na reta final.

Mesmo problema (s) aqui - MemoryError e não consigo fazer o download do manual.

Raspberry Pi3 com Stretch

Estou recebendo o mesmo erro de memória também.

pi @ raspberrypi : ~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
Coletando https://github.com/sightmachine/SimpleCV/zipball/master
Baixando https://github.com/sightmachine/SimpleCV/zipball/master
| 53,8 MB 7,9 MB / s Exceção:
Traceback (última chamada mais recente):
Arquivo "/usr/lib/python2.7/dist-packages/pip/basecommand.py", linha 215, no principal
status = self.run (opções, argumentos)
Arquivo "/usr/lib/python2.7/dist-packages/pip/commands/install.py", linha 353, em execução
wb.build (autobuilding = True)
Arquivo "/usr/lib/python2.7/dist-packages/pip/wheel.py", linha 749, em compilação
self.requirement_set.prepare_files (self.finder)
Arquivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", linha 380, em prepare_files
ignore_dependencies = self.ignore_dependencies))
Arquivo "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", linha 620, em _prepare_file
sessão = self.session, hashes = hashes)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 821, em unpack_url
hashes = hashes
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 659, em unpack_http_url
hashes)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 882, em _download_http_url
_download_url (resp, link, content_file, hashes)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 605, em _download_url
consumir (baixado_chunks)
Arquivo "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", linha 870, em consumo
deque (iterador, maxlen = 0)
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 571, em notas_escritas
para pedaços em pedaços:
Arquivo "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", linha 139, no iter
para x nele:
Arquivo "/usr/lib/python2.7/dist-packages/pip/download.py", linha 560, em resp_read
decode_content = False):
Arquivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", linha 428, no fluxo
para linha em self.read_chunked (amt, decode_content = decode_content):
Arquivo "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", linha 590, em read_chunked
self._update_chunk_length ()
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", linha 106, em _update_chunk_length
self._fp._close ()
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", linha 50, em _close
self .__ callback (self .__ buf.getvalue ())
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", linha 275, em cache_response
self.serializer.dumps (solicitação, resposta, corpo = corpo),
Arquivo "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", linha 87, em despejos
) .encode ("utf8"),
MemoryError
ajuda por favor !

Enfrentou o mesmo problema ... resolvido adicionando --no-cache-dir à instalação do pip:

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

@shakeeltariq OBRIGADO. Isso salvou minha construção rpi.

Esta página foi útil?
0 / 5 - 0 avaliações