我是python的新手,我已经为我的Raspberry Pi上的GPIO引脚编写了一些代码,但是当我运行它时, : [email protected]:~$ sudo python change.py
Which GPIO do you whant to change? 13
Exit (y/n) n
Traceback (most recent call last):
File
我有以下代码: #!/usr/bin/python
# -*- coding: iso-8859-15 -*-
import pygame, random
from pygame.locals import *
pygame.init()
clock = pygame.time.Clock()
and so on
的应用程序都将出现OK,但是当我编译代码我收到以下错误: Tra