Cannot import tkinter after installing Python 3 with pyenv

后端 未结 3 794
小鲜肉
小鲜肉 2021-01-12 00:58

I got problems with importing tkinter after installing Python version 3.4.2 with pyenv. My system Python is version 2.7.6. I am using Ubuntu 14.04.

3条回答
  •  北海茫月
    2021-01-12 01:17

    For MacOS you can try installing tcl-tk via homebrew and then activating the env. vars. mentioned in its caveats section, as detailed in this answer.

提交回复
热议问题