turtle模块的安装
来源:互联网 发布:手机淘宝抢拍技巧 编辑:程序博客网 时间:2024/05/18 01:32
今天突然想使用turtle绘制图形,可是在导入turtle模块时却提示错误:
“ImportError: No module named turtle”
解决方法如下:
在超级用户模式下执行命令:
[root@foundation101 ~]# easy_install turtle
出现了三个问题:
1. build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
2. twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory
3. error: Setup script exited with error: command ‘gcc’ failed with exit status 1
解决方法:
[root@foundation101 ~]# yum install python-devel gcc -y
完美解决~~~~
0 0
- turtle模块的安装
- Python 内置模块turtle模块的使用
- 用Python的Turtle模块绘制五星红旗
- nf使用 Python 的 turtle 模块画图
- python中turtle模块的练习
- python中turtle模块的基本命令
- Python中turtle模块
- Python GUI:高级作图turtle模块的常用函数.md
- Python——用turtle模块画海龟的第一步
- python中turtle(海龟)模块的简单用法
- python中turtle模块画没有角的方格
- 02turtle模块常用函数
- python turtle模块 画火树银花
- Python中turtle模块画图
- Python的turtle 绘图
- python多媒体制作的新年贺卡使用的是turtle和image模块
- Turtle
- 用Python中的turtle模块绘图
- Debian操作系统安装
- Eclipse IDE FOR JAVA常见错误
- 可以查到的资料和可以淘到的原件 DIY 四轴
- Linux库文件
- 代理模式
- turtle模块的安装
- 2016郑州大学ACM/ICPC训练赛 Round1
- oc swift 混编
- uva4621
- MySQL数据库登录时发生闪退
- 自定义View(三)——封装自定义View,通过封装类实现文字滚动、画圆
- http协议详解
- Android屏幕适配全攻略2-我想跟美工谈谈
- MapReduce设计模式学习