OSX Python Choosing ActiveStateTcl Framework instead of standard System Tcl

I am trying to use the ActiveStateTcl platform, so I can specifically use TkTreeCtrl. After installation, python still did not recognize the tktreectrl import. It is set to   /Library/Frameworks/Tcl.framework/Versions/8.6/

When python prints the tcl patch level, it displays 8.5.9, which is a structure located in   /System/Library/Frameworks/Tcl.framework/Versions/8.5/

Tk.framework is on the same path for both. How can I change which Framework it uses? Copying 8.6 Tcl / Tk frameworks over 8.5 caused python to not recognize tcl / tk modules.

+4
source share

Source: https://habr.com/ru/post/1611957/


All Articles