<br> # My Thoughts - Put your own idea, instead of just scrapping or copying contents. ## Why? (목적 - 왜 기록하는가?) ## How? (방법 - 어떻게 활용할까?) ## What? (결과 - 무엇을 창조할까?) <br> # Summary mac OS Terminal command: Finder에서 해당 열기 ``` open . ``` Python online IDLE editor https://www.online-python.com/ ## macOS에 파이썬 IDLE 설치 ``` EXT-HJQKJ4XQPX:/Users/eryu% idle3 ** IDLE can't import Tkinter. Your Python may not be configured for Tk. ** EXT-HJQKJ4XQPX:/Users/eryu% EXT-HJQKJ4XQPX:/Users/eryu% /opt/homebrew/opt/[email protected]/bin/idle3 ** IDLE can't import Tkinter. Your Python may not be configured for Tk. ** ``` ``` EXT-HJQKJ4XQPX:/Users/eryu% brew install tcl-tk ``` ``` brew uninstall [email protected] brew uninstall tcl-tk brew install tcl-tk brew install [email protected] --with-tcl-tk ``` ``` EXT-HJQKJ4XQPX:/Users/eryu% python3.12 -c "import tkinter; print(tkinter.TkVersion)" Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/homebrew/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/tkinter/init.py", line 38, in <module> import _tkinter # If this fails your Python may not be configured for Tk ^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named '_tkinter' ``` 에러 발생해서 설치 못함. ``` brew install pyenv pyenv install 3.12.0 pyenv global 3.12.0 ``` <br> # References <br> # Links [[_MOC_2_Code]] [[파이썬_Study_혼자 공부하는 파이썬_1장]] <br> # Tags #code #python <br>