GASP的安装和执行

本文档详细介绍了在Windows 7系统上安装GASP(Graphics API for Students of Python)的过程,包括遇到的挑战和解决方法。首先安装PyGame,然后下载并安装32位的GASP 0.2.0beta1,对于64位系统需要修改注册表。在执行GASP脚本时遇到了问题,最终发现需要将脚本放在Python的site-packages目录下才能运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

GASP (Graphics API for Students of Python) will enable us to write programs involving graphics.

安装Windows版GASP
在《How to Think Like a Computer Scientist Learning with Python 》4.11GASP章节中,需要安装GASP。通过文章给的网址http://dev.laptop.org/pub/gasp/downloads进入下载页面。由于我是windows 7系统,所以选择

3.Microsoft Windows

The latest version of GASP does not run on Windows, due to unfortunate
implementation details. In the meantime, you can use older versions of
GASP from the 0.2.x series. Install PyGame, then download and install
the 0.2.0beta1 GASP package. Assistance with porting the 0.3.x series
is appreciated, email the mailing list if you can help.

1.首先安装PyGame,通过页面链接,进入http://www.pygame.org/wiki/GettingStarted

通过描述得知ÿ

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值