Python 在Raspbian上安装pgext

Python 在Raspbian上安装pgext,python,raspberry-pi,Python,Raspberry Pi,我正在尝试安装pgext,以便在运行时与pygame结合使用 python setup.py安装 我得到以下错误 Include path not found (SDL) SDL: /usr/lib/arm_linux-gnueabihf Traceback (most recent call last): File "setup.py", line 198, in <module> cfgsetup.configure() File "setup.py", line 1

我正在尝试安装pgext,以便在运行时与pygame结合使用 python setup.py安装 我得到以下错误

Include path not found (SDL)
SDL: /usr/lib/arm_linux-gnueabihf
    Traceback (most recent call last):
File "setup.py", line 198, in <module>
  cfgsetup.configure()
File "setup.py", line 167, in configure
  incdirs.append(self.ext_include_dirs[incd])
KeyError: 'SDL'
未找到包含路径(SDL)
SDL:/usr/lib/arm_linux-gnueabihf
回溯(最近一次呼叫最后一次):
文件“setup.py”,第198行,在
cfgsetup.configure()
配置中第167行的文件“setup.py”
incdirs.append(self.ext\u include\u dirs[incd])
KeyError:'SDL'

非常感谢您的任何帮助

您好,您需要安装SDL头文件/开发包(libsdl1.2-dev)

但pgext仅在linux x86、64和Win32上进行了测试。
如果您有任何错误,请随时与我联系。

您可以在raspberry pi stack exchange上询问: