I have nRF Connect SDK v2.6.1 installed on a Mac, the latest toolchain installed via nRF Connect for Desktop, and VSCode with all the nRF extensions. Everything works pretty well except that I cannot build and run the guiconfig tool. The Python terminal window shows the following results:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
* Executing task: west build -d /Users/Glen/Documents/Projects/nordic/ncs-inter/inter_less1_exer2/build -t guiconfig
-- west build: running target guiconfig
[0/1] cd /Users/Glen/Documents/Projects/nordic/ncs-inter/inter_less1_exer2/bui....6.1/zephyr/scripts/kconfig/guiconfig.py /opt/nordic/ncs/v2.6.1/zephyr/Kconfig
Traceback (most recent call last):
File "/opt/nordic/ncs/v2.6.1/zephyr/scripts/kconfig/guiconfig.py", line 2331, in <module>
_main()
File "/opt/nordic/ncs/v2.6.1/zephyr/scripts/kconfig/guiconfig.py", line 105, in _main
menuconfig(standard_kconfig(__doc__))
File "/opt/nordic/ncs/v2.6.1/zephyr/scripts/kconfig/guiconfig.py", line 183, in menuconfig
_create_ui()
File "/opt/nordic/ncs/v2.6.1/zephyr/scripts/kconfig/guiconfig.py", line 295, in _create_ui
_root = Tk()
File "/opt/nordic/ncs/toolchains/580e4ef81c/Cellar/python@3.9/3.9.6/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py", line 2270, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
/usr/local/Cellar/tcl-tk/8.6.11_1/lib/tcl8.6 /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/python@3.9/3.9.6/lib/tcl8.6 /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/python@3.9/lib/tcl8.6 /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/python@3.9/3.9.6/library /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/python@3.9/library /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/python@3.9/tcl8.6.11/library /opt/nordic/ncs/toolchains/580e4ef81c/Cellar/tcl8.6.11/library
This probably means that Tcl wasn't installed properly.
It appears to be looking for an init.tcl file that I confirmed is not in any of the directories listed. I confirmed that Tcl is on my Mac, version 8.5.9.