Why my Python installed via home brew not include Tkinter

后端 未结 6 1934
粉色の甜心
粉色の甜心 2020-12-02 20:21

I\'ve installed my Python via homebrew on Mac.

brew install python

and after that I\'ve checked my python version as 2.7.11, then I\'ve tri

6条回答
  •  醉话见心
    2020-12-02 21:09

    It is a bit more complicated now, true you still need to have xcode command line tools and homebrew as a start. But the procedure changes constantly. Homebrew took out tcl-tk support long ago, and apple still only supplies v8.5 of tcl-tk. Anyway, it is possible, and I maintain a github gist personally to fix these issues.

    Latest update is using python 3.8.1 (will probably be usable on the 3.8.x branch later too) see here, just follow the steps outlined. github gist link to install tcl-tk with python

提交回复
热议问题