在哪里可以找到并安装 pygame 的依赖项? [英] Where can I find and install the dependencies for pygame?
本文介绍了在哪里可以找到并安装 pygame 的依赖项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对 linux 比较陌生,正在尝试为 python 安装 pygame 开发环境.当我运行 setup.py 时,它说我需要安装以下依赖项,我找到并安装了其中之一(SDL).然而,其他的则更加难以捉摸.
I am relatively new to linux and am trying to install the pygame dev environment for python. When I run the setup.py it says that I need to install the following dependencies, one of which I found and installed (SDL). However, the others have been more elusive.
Hunting dependencies...
sh: smpeg-config: command not found
WARNING: "smpeg-config" failed!
SDL : found 1.2.14
FONT : not found
IMAGE : not found
MIXER : not found
SMPEG : not found
PNG : not found
JPEG : not found
SCRAP : found
PORTMIDI: not found
PORTTIME: not found
如果您能给我一些指导,我将不胜感激.
If you could give me some guidance I would appreciate it.
谢谢.
推荐答案
对于 debian,有一个可用的预构建包.请参阅此处.你应该可以用 apt-get
或类似的东西安装它.
For debian, there is a pre-built package available. See here. You should be able to install it with apt-get
or something similar.
这篇关于在哪里可以找到并安装 pygame 的依赖项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文