Пётр Сиренко <p.sirenko...@gmail.com> added the comment:

petr@air-anastasia ~ % python3 -c "import tkinter; tkinter.Tk()"   
macOS 11 or later required !
zsh: abort      python3 -c "import tkinter; tkinter.Tk()"

>>> tkinter.TclVersion
8.5
>>> tkinter.TkVersion
8.5

petr@air-anastasia ~ % brew install tcl-tk
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from f47c1eae3 to 1eff47766.
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
xcb-util-image             xcb-util-renderutil        xcb-util-wm
==> Updated Formulae
Updated 29 formulae.
==> Updated Casks
Updated 18 casks.

==> Downloading https://homebrew.bintray.com/bottles/tcl-tk-8.6.10.big_sur.bottl
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/b7c942f7fc15b6a402bf4
######################################################################## 100.0%
==> Pouring tcl-tk-8.6.10.big_sur.bottle.1.tar.gz
==> Caveats
tcl-tk is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have tcl-tk first in your PATH run:
  echo 'export PATH="/usr/local/opt/tcl-tk/bin:$PATH"' >> ~/.zshrc

For compilers to find tcl-tk you may need to set:
  export LDFLAGS="-L/usr/local/opt/tcl-tk/lib"
  export CPPFLAGS="-I/usr/local/opt/tcl-tk/include"

==> Summary
🍺  /usr/local/Cellar/tcl-tk/8.6.10: 3,037 files, 51.4MB

I have tried to update tcl-tk with the homebrew, but in command line I see 8.5
Could you please help me to fix this tcl-tk problem?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42691>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to