推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
gobetago
V2EX  ›  Python

如何使用 Homebrew 解决 Python3 Idle 无法输入中文的问题?

  •  
  •   gobetago · Dec 25, 2018 · 3129 views
    This topic created in 2716 days ago, the information mentioned may be changed or developed.
    打开 python 自带的 idle 提示 WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.

    网上找到的答案是 TCL-TK 版本不对应,查询 mac 上的版本后发现 brew 里的 TCK-Tk 版本是 8.6.8,但 Idle 里的显示的 TK 版本依然是 8.5.9

    解决方法是重装 python3

    brew reinstall python3 --with-tcl-tk 后 提示 Error: invalid option: --with-tcl-tk

    无法解决。
    1 replies    2018-12-25 15:45:54 +08:00
    ClutchBear
        1
    ClutchBear  
       Dec 25, 2018
    用这个 idle 干啥呢
    终端直接输入 python 就是.

    想用类似的还有一个更好的 ipython,
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2762 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 15:49 · PVG 23:49 · LAX 08:49 · JFK 11:49
    ♥ Do have faith in what you're doing.