首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pygame mac homebrew,xz不存在或损坏

pygame mac homebrew,xz不存在或损坏
EN

Stack Overflow用户
提问于 2014-07-13 21:51:17
回答 1查看 1.7K关注 0票数 1

我正在尝试安装pygame,并遵循了许多教程来解决所有发生的错误,但我无法通过这些错误。

任何帮助都是非常感谢的。

代码语言:javascript
复制
brew install --HEAD smpeg 

出现以下错误:

代码语言:javascript
复制
installing dependencies for smpeg: gobject-introspection, gdk-pixbuf,
==> Installing smpeg dependency: gobject-introspection
==> Building source; bottle blocked by python requirement
Error: /usr/local/opt/xz not present or broken
Please reinstall xz. Sorry :(

我在试着追随这个纪念碑http://bastibe.de/2011-03-04-installing-pygame-using-homebrew.html

代码语言:javascript
复制
brew install sdl, sdl_mixer, sdl_ttf, libpng, jpeg, sdl_image, portmidi
Error: No available formula for sdl, 

这个问题是Pygame - smpeg does not find Python headers

但我不确定如何brew edit smpeg,在最后的两个结尾处添加了include.install目录“*.h”。

安装这个棘手的pygame的最快方法是什么?

EN

回答 1

Stack Overflow用户

发布于 2014-07-21 07:06:48

代码语言:javascript
复制
brew tap homebrew/python
brew install pygame

这应该是您需要做的全部工作。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24723363

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档