Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/345.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
“无法访问”;进口海龟“;在python3.5.2中_Python_Turtle Graphics - Fatal编程技术网

“无法访问”;进口海龟“;在python3.5.2中

“无法访问”;进口海龟“;在python3.5.2中,python,turtle-graphics,Python,Turtle Graphics,我得到的错误是: 没有名为“\u tkinter”的模块 我试过使用: sudo apt get install python tk idle python pmw python imaging turtle在python2.7.1中工作您可能只为python2.7安装了turtle sudo apt-get install python3-tk (以及您可能需要的其他工具)尝试apt get-install python3 tk python3 imaging

我得到的错误是:
没有名为“\u tkinter”的模块

我试过使用:
sudo apt get install python tk idle python pmw python imaging


turtle在python2.7.1中工作

您可能只为python2.7安装了turtle

sudo apt-get install python3-tk

(以及您可能需要的其他工具)

尝试
apt get-install python3 tk python3 imaging