File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,13 @@ KCPP_CUDA=$(<conda/envs/linux/cudaver)
2828KCPP_CUDAAPPEND=-cuda${KCPP_CUDA// .} $KCPP_APPEND
2929
3030if [ -n " $TRANSPLANT_TK " ]; then
31+ echo Check system tk and python
32+ python3 --version
33+ ldd " /usr/lib/x86_64-linux-gnu/libtk8.6.so"
34+ python3 - << 'EOF '
35+ import tkinter
36+ print("System TK version:", tkinter.Tcl().call("info", "patchlevel"))
37+ EOF
3138 echo Attempting to use a transplanted tkinter from ubuntu-24.04.3 to fix fontconfig issues
3239 bin/micromamba run -r conda -p conda/envs/linux python - << 'EOF '
3340import tkinter
3643 ldd " conda/envs/linux/lib/libtk8.6.so"
3744 rm -f " conda/envs/linux/lib/libtcl8.6.so"
3845 rm -f " conda/envs/linux/lib/libtk8.6.so"
39- curl -L https://github.com/LostRuins/koboldcpp/releases/download/cuda11_cublas_libraries/libtcl8.6.so --output conda/envs/linux/lib/libtcl8.6.so
40- curl -L https://github.com/LostRuins/koboldcpp/releases/download/cuda11_cublas_libraries/libtk8.6.so --output conda/envs/linux/lib/libtk8.6.so
41- chmod 755 " conda/envs/linux/lib/libtcl8.6.so" " conda/envs/linux/lib/libtk8.6.so"
46+ ln -s /usr/lib/x86_64-linux-gnu/libtk8.6.so conda/envs/linux/lib/libtk8.6.so
47+ ln -s /usr/lib/x86_64-linux-gnu/libtcl8.6.so conda/envs/linux/lib/libtcl8.6.so
4248 ls -lah conda/envs/linux/lib
4349 bin/micromamba run -r conda -p conda/envs/linux python - << 'EOF '
4450import tkinter
You can’t perform that action at this time.
0 commit comments