$ brew install asciinema
Warning: asciinema 2.0.0 is already installed
$ asciinema
Traceback (most recent call last):
File "/usr/local/Cellar/asciinema/2.0.0/libexec/bin/asciinema", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
Traceback (most recent call last):
File "/usr/local/Cellar/asciinema/2.0.0/libexec/bin/asciinema", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
์ด๊ฒ์ asciinema ๋ฌธ์ ๊ฐ ์๋๋ผ ๋ด ์ค์น์ ๋ฌธ์ ์ ๋๋ค. ์๋ง๋ ๋ช ๊ฐ์ง ์ค์ํ ์๊ตฌ ์ฌํญ์ด ๋ถ์กฑํ ๊ฒ์ ๋๋ค.
๋๋ ์ด๊ฒ์ ์กฐ์ฌํ๊ณ ๊ทธ๊ฒ์ ํด๊ฒฐํ๋ ๋ฐฉ๋ฒ์ ๋ํ ๋ฉ๋ชจ๋ฅผ ์ถ๊ฐํ ๊ฒ์ ๋๋ค.
๋๋ฅผ ์ํ ์์ ์ฌํญ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
# to find and fix issues with my brew
$ brew doctor
$ brew install python3
Warning: python3 3.6.4_2 is already installed, it's just not linked.
You can use `brew link python3` to link this version.
$ brew link python3
Linking /usr/local/Cellar/python3/3.6.4_2... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
# It's possible that the linking would not be necessary if I skipped to the postinstall step.
$ sudo mkdir /usr/local/Frameworks
$ sudo chown $(whoami):admin /usr/local/Frameworks
$ brew link python3
Linking /usr/local/Cellar/python3/3.6.4_2... 1 symlinks created
์ด ์์ ์์ ์ฌ์ ํ ์๋ํ์ง ์์ต๋๋ค. ๊ทธ๋์ ๋๋ ๋ฌ๋ ธ๋ค.
$ brew postinstall python3
๊ทธ๋ฆฌ๊ณ asciinema๊ฐ ์๋ํ์ต๋๋ค!
์์กฐ ํ ์ค์น python3์ด ๋๋ฅผ ์ํด ํด๊ฒฐํ์ต๋๋ค. ๊ทธ๋ฌ๋ .cast๋ฅผ ๋ก์ปฌ๋ก ์ ์ฅํ๋ ค๊ณ ํ ๋(asciinema rec filename.cast) ์ฌ์ ํ ๋ช ๊ฐ์ง ๊ถํ ๋ฌธ์ ๊ฐ ๋ฐ์ํฉ๋๋ค. ๊ทธ๋ฌ๋ ์ฌํ ๊ธฐ๋ก ctrl-c๋ฅผ ์ฌ์ฉํ๋ฉด ir์ด ์ ๋๋ก ์ ์ฅ๋ฉ๋๋ค.
์ด๊ฒ์ ๋ถ๋ช ํ ํฌ์ฅ / ์์ ๋ฌธ์ ์ ๋๋ค. ์์ผ๋ก ์ด๋ฌํ ์ข ๋ฅ์ ๋ฌธ์ ๋ฅผ brew Formulas ์ ์ฅ์์ brew ํจํค์ง ๊ด๋ฆฌ์์๊ฒ ๋ณด๊ณ ํด ์ฃผ์ญ์์ค. ๊ฐ์ฌ ํด์!
์ด๊ฒ์ ์ ์๊ฒ๋ ๋์์ด ๋์์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค!
๊ฐ์ฌํฉ๋๋ค!
์ด๊ฒ์ ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค!
๊ทธ๊ฒ์ ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค! ๊ฐ์ฌํฉ๋๋ค!!
๊ฐ์ ์ค๋ฅ
๊ณ ๋ง์, ํจ๊ณผ๊ฐ ์์๋ค!
๋ง์ ๋์์ด ๋์์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
์๋ฒฝํ !
์ด๊ฒ์ ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋๋ฅผ ์ํ ์์ ์ฌํญ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
์ด ์์ ์์ ์ฌ์ ํ ์๋ํ์ง ์์ต๋๋ค. ๊ทธ๋์ ๋๋ ๋ฌ๋ ธ๋ค.
๊ทธ๋ฆฌ๊ณ asciinema๊ฐ ์๋ํ์ต๋๋ค!