๋์์ฃผ์๊ฒ ์ด์?
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"),
๋ฉ๋ชจ๋ฆฌ ์ค๋ฅ
์๋
ํ์ธ์,
๋๊ตฌ๋ ์ง ์ด๊ฒ์ ๋์ธ ์ ์๋ค๋ฉด .. ์ ๋ ๋ฐ์ฝ๋ ์ค์บ ์์
์ํ๊ณ ์์ต๋๋ค. ์ด ๋ฌธ์ ๋ ๋์๊ฒ ๋ฒฝ๋ ๋ฒฝ์ ์ ๊ณตํ๊ณ ์์ต๋๋ค.
๋์์ฃผ์ธ์, ์ ๋ฐ!
์๋
ํ์ธ์,
์ฃ์กํฉ๋๋ค. ๋์๋๋ฆด ์ ์์ต๋๋ค. ์ ํํ ๋์ผํ ๋ฉ๋ชจ๋ฆฌ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค. 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 ๋น๋๋ฅผ ์ ์ฅํ์ต๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋์ผํ ๋ฌธ์ ์ ์ง๋ฉดํ์ต๋๋ค ... pip ์ค์น์ --no-cache-dir์ ์ถ๊ฐํ์ฌ ํด๊ฒฐํ์ต๋๋ค.
sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master --no-cache-dir