[Solved]: Problem with missing tcl-tk python’s module under MAC OS X

If You have error message regarding ¬†with missing tcl-tk python’s module under MAC OS X, You can solve it in very easy way, using brew install command: brew install tcl-tk

Next You should set up PATH according below instructions:

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

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”

For pkg-config to find tcl-tk you may need to set:

export PKG_CONFIG_PATH=”/usr/local/opt/tcl-tk/lib/pkgconfig”

And problem will be solved. You don’t need waste your time for searching valid installer version and download it from python.org. This is simplest way to solve mentioned problem

January 24th, 2019