Simplecv: ๋ฉ”๋ชจ๋ฆฌ ์˜ค๋ฅ˜

์— ๋งŒ๋“  2017๋…„ 10์›” 15์ผ  ยท  8์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: sightmachine/SimpleCV

๋„์™€์ฃผ์‹œ๊ฒ ์–ด์š”?
SimpleCV๋ฅผ ๋กœ๋“œํ•˜๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

gethub http๋ฅผ ์‹คํ–‰ํ•˜๋ฉด ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

ํ„ฐ๋ฏธ๋„ ์ž…๋ ฅ/์ถœ๋ ฅ:

pi@raspberrypi :~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
์ˆ˜์ง‘ https://github.com/sightmachine/SimpleCV/zipball/master
https://github.com/sightmachine/SimpleCV/zipball/master ๋‹ค์šด๋กœ๋“œ
| 53.8MB 1.3MB/s์˜ˆ์™ธ:
์—ญ์ถ”์ (๊ฐ€์žฅ ์ตœ๊ทผ ํ˜ธ์ถœ ๋งˆ์ง€๋ง‰):
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/basecommand.py", 215ํ–‰, ๋ฉ”์ธ
์ƒํƒœ = self.run(์˜ต์…˜, ์ธ์ˆ˜)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/commands/install.py", 353ํ–‰, ์‹คํ–‰ ์ค‘
wb.build(autobuilding=True)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/wheel.py", 749ํ–‰, ๋นŒ๋“œ
self.requirement_set.prepare_files(self.finder)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", 380ํ–‰, prepare_files
ignore_dependencies=self.ignore_dependencies))
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", 620ํ–‰, _prepare_file
์„ธ์…˜=self.session, ํ•ด์‹œ=ํ•ด์‹œ)
unpack_url์˜ ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 821ํ–‰
ํ•ด์‹œ = ํ•ด์‹œ
unpack_http_url์˜ ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 659ํ–‰
ํ•ด์‹œ)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 882ํ–‰, _download_http_url
_download_url(resp, ๋งํฌ, content_file, ํ•ด์‹œ)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 605ํ–‰, _download_url
์†Œ๋น„(downloaded_chunks)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", ๋ผ์ธ 870, ์‚ฌ์šฉ ์ค‘
deque(๋ฐ˜๋ณต์ž, maxlen=0)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 571ํ–‰, write_chunks
์ฒญํฌ ๋‹จ์œ„์˜ ๊ฒฝ์šฐ:
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", 139ํ–‰, ๋ฐ˜๋ณต
x์— ๋Œ€ํ•ด:
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 560ํ–‰, resp_read
decode_content=๊ฑฐ์ง“):
ํŒŒ์ผ "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", 428ํ–‰, ์ŠคํŠธ๋ฆผ
self.read_chunked(amt, decode_content=decode_content)์˜ ์ค„:
ํŒŒ์ผ "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", 590ํ–‰, read_chunked
self._update_chunk_length()
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", 106ํ–‰, _update_chunk_length
self._fp._close()
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", 50ํ–‰, _close
self.__callback(self.__buf.getvalue())
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", 275ํ–‰, cache_response
self.serializer.dumps(์š”์ฒญ, ์‘๋‹ต, ๋ณธ๋ฌธ=๋ณธ๋ฌธ),
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", 87ํ–‰, ๋คํ”„
).encode("utf8"),
๋ฉ”๋ชจ๋ฆฌ ์˜ค๋ฅ˜

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

๋™์ผํ•œ ๋ฌธ์ œ์— ์ง๋ฉดํ–ˆ์Šต๋‹ˆ๋‹ค ... pip ์„ค์น˜์— --no-cache-dir์„ ์ถ”๊ฐ€ํ•˜์—ฌ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.

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

๋ชจ๋“  8 ๋Œ“๊ธ€

์•ˆ๋…•ํ•˜์„ธ์š”,
๋ˆ„๊ตฌ๋“ ์ง€ ์ด๊ฒƒ์„ ๋„์šธ ์ˆ˜ ์žˆ๋‹ค๋ฉด .. ์ €๋Š” ๋ฐ”์ฝ”๋“œ ์Šค์บ” ์ž‘์—…์„ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ๋ฌธ์ œ๋Š” ๋‚˜์—๊ฒŒ ๋ฒฝ๋Œ ๋ฒฝ์„ ์ œ๊ณตํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
๋„์™€์ฃผ์„ธ์š”, ์ œ๋ฐœ!

์•ˆ๋…•ํ•˜์„ธ์š”,
์ฃ„์†กํ•ฉ๋‹ˆ๋‹ค. ๋„์™€๋“œ๋ฆด ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ •ํ™•ํžˆ ๋™์ผํ•œ ๋ฉ”๋ชจ๋ฆฌ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค. Raspbian Stretch๋ฅผ ์ƒˆ๋กœ ์„ค์น˜ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
๋„์›€์ด ๋  ์ˆ˜ ์žˆ๋Š” ๋ˆ„๊ตฐ๊ฐ€๊ฐ€ ์ด ๋ฌธ์ œ๋ฅผ ์ฝ๊ณ  ์žˆ๊ธฐ๋ฅผ ๋ฐ”๋ž๋‹ˆ๋‹ค.

์ด ์‚ฌ์ดํŠธ๋ฅผ ์‹œ๋„ํ•˜๊ณ  ์ˆ˜๋™์œผ๋กœ ๋‹ค์šด๋กœ๋“œํ•˜์‹ญ์‹œ์˜ค. ์ €์—๊ฒŒ ํšจ๊ณผ์ ์ด์—ˆ์Šต๋‹ˆ๋‹ค.

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

mkdir ~/์ฝ”๋“œ
cd ~/์ฝ”๋“œ
์ž์‹ ํด๋ก  git://github.com/sightmachine/SimpleCV.git
cd ์‹ฌํ”ŒCV
sudo pip install -r ์š”๊ตฌ ์‚ฌํ•ญ.txt
sudo ํŒŒ์ด์ฌ setup.py ๊ฐœ๋ฐœ

@keefo149 : ๋‹น์‹ ์ด ์ œ์•ˆํ•œ ๋Œ€๋กœ ํ•˜๋ฉด

PIL ์ˆ˜์ง‘(-r requirements.txt(3ํ–‰)์—์„œ)
์š”๊ตฌ ์‚ฌํ•ญ PIL์„ ์ถฉ์กฑํ•˜๋Š” ๋ฒ„์ „์„ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค(-r requirements.txt(๋ผ์ธ 3)์—์„œ)(๋ฒ„์ „์—์„œ: )
PIL์— ๋Œ€ํ•ด ์ผ์น˜ํ•˜๋Š” ๋ฐฐํฌํŒ์„ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค(-r Requirements.txt(๋ผ์ธ 3)์—์„œ).

์šฐ๋ฆฌ๋Š” raspbian stretch์— ์žˆ์Šต๋‹ˆ๋‹ค.

์—ฌ๊ธฐ์— ๋™์ผํ•œ ๋ฌธ์ œ - MemoryError ๋ฐ ์ˆ˜๋™ ๋‹ค์šด๋กœ๋“œ๋ฅผ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

์ŠคํŠธ๋ ˆ์น˜ ๊ธฐ๋Šฅ์ด ์žˆ๋Š” ๋ผ์ฆˆ๋ฒ ๋ฆฌ ํŒŒ์ด3

๋™์ผํ•œ ๋ฉ”๋ชจ๋ฆฌ ์˜ค๋ฅ˜๋„ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

pi@raspberrypi :~ $ sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
์ˆ˜์ง‘ https://github.com/sightmachine/SimpleCV/zipball/master
https://github.com/sightmachine/SimpleCV/zipball/master ๋‹ค์šด๋กœ๋“œ
| 53.8MB 7.9MB/s์˜ˆ์™ธ:
์—ญ์ถ”์ (๊ฐ€์žฅ ์ตœ๊ทผ ํ˜ธ์ถœ ๋งˆ์ง€๋ง‰):
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/basecommand.py", 215ํ–‰, ๋ฉ”์ธ
์ƒํƒœ = self.run(์˜ต์…˜, ์ธ์ˆ˜)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/commands/install.py", 353ํ–‰, ์‹คํ–‰ ์ค‘
wb.build(autobuilding=True)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/wheel.py", 749ํ–‰, ๋นŒ๋“œ
self.requirement_set.prepare_files(self.finder)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", 380ํ–‰, prepare_files
ignore_dependencies=self.ignore_dependencies))
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", 620ํ–‰, _prepare_file
์„ธ์…˜=self.session, ํ•ด์‹œ=ํ•ด์‹œ)
unpack_url์˜ ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 821ํ–‰
ํ•ด์‹œ = ํ•ด์‹œ
unpack_http_url์˜ ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 659ํ–‰
ํ•ด์‹œ)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 882ํ–‰, _download_http_url
_download_url(resp, ๋งํฌ, content_file, ํ•ด์‹œ)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 605ํ–‰, _download_url
์†Œ๋น„(downloaded_chunks)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", ๋ผ์ธ 870, ์‚ฌ์šฉ ์ค‘
deque(๋ฐ˜๋ณต์ž, maxlen=0)
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 571ํ–‰, write_chunks
์ฒญํฌ ๋‹จ์œ„์˜ ๊ฒฝ์šฐ:
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", 139ํ–‰, ๋ฐ˜๋ณต
x์— ๋Œ€ํ•ด:
ํŒŒ์ผ "/usr/lib/python2.7/dist-packages/pip/download.py", 560ํ–‰, resp_read
decode_content=๊ฑฐ์ง“):
ํŒŒ์ผ "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", 428ํ–‰, ์ŠคํŠธ๋ฆผ
self.read_chunked(amt, decode_content=decode_content)์˜ ์ค„:
ํŒŒ์ผ "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", 590ํ–‰, read_chunked
self._update_chunk_length()
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", 106ํ–‰, _update_chunk_length
self._fp._close()
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", 50ํ–‰, _close
self.__callback(self.__buf.getvalue())
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", 275ํ–‰, cache_response
self.serializer.dumps(์š”์ฒญ, ์‘๋‹ต, ๋ณธ๋ฌธ=๋ณธ๋ฌธ),
ํŒŒ์ผ "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", 87ํ–‰, ๋คํ”„
).encode("utf8"),
๋ฉ”๋ชจ๋ฆฌ ์˜ค๋ฅ˜
๋„์™€์ฃผ์„ธ์š” !

๋™์ผํ•œ ๋ฌธ์ œ์— ์ง๋ฉดํ–ˆ์Šต๋‹ˆ๋‹ค ... pip ์„ค์น˜์— --no-cache-dir์„ ์ถ”๊ฐ€ํ•˜์—ฌ ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.

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

@shakeeltariq ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๊ฒƒ์€ ๋‚ด rpi ๋นŒ๋“œ๋ฅผ ์ €์žฅํ–ˆ์Šต๋‹ˆ๋‹ค.

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰