自制:没有适用于smpeg的公式 [英] Homebrew: No formula for smpeg

查看:45
本文介绍了自制:没有适用于smpeg的公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Python3在Mac OS 10.6.8上安装Pygame.我正在努力按照此处的说明进行操作: http: //florian-berger.de/en/articles/installing-pygame-for-python-3-on-os-x

I'm trying to install Pygame on my Mac OS 10.6.8 with Python3. I'm doing my best to follow the instructions here: http://florian-berger.de/en/articles/installing-pygame-for-python-3-on-os-x

在执行此步骤之前,一切似乎都很好:

And all seems well until this step:

brew install sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi

然后失败,并显示没有适用于smpeg的公式".如果尝试,会出现相同的错误:

Then it fails with "No available formula for smpeg". I get the same error if I try:

brew install smpeg

我已经查看过/usr/local/Library/Formula,实际上,它不存在.

I've looked in /usr/local/Library/Formula and indeed, it is not there.

前进的明智方法是什么? *查找,安装和修复旧公式? *使用替代方式安装smpeg吗? *借助Homebrew到此为止,有没有更聪明的方法来安装Pygame?

What's the smart way to move forward? * Find, install and fix the old formula? * Use an alternate way of installing smpeg? * Having come this far with Homebrew, is there a smarter way to install Pygame?

我希望您能接受采用该方法的指南,以及有关如何采用该方法的帮助链接.我已经达到了系统管理员技能的极限.

I'd appreciate guidance on an approach to take and a link with help on how to get it down that that approach. I've kind of hit the limits of my sys admin skills.

谢谢!

注意:我链接到的说明(使用向上的pip,前面没有特殊路径),以及下面选择的答案和我的评论,导致Pygame在Python 2.7中工作.我很高兴稍后,我将弄清楚如何在Python3中实现此目的,但就目前而言,这是一个相当不错的胜利.

NOTE: The instructions I've linked to (using straight up pip with no special path in front of it), plus the answer selected below and my comment, resulted in Pygame working in Python 2.7. I'm overjoyed. Sometime later I'll figure out how to make this work in Python3, but for now this is a pretty solid win.

推荐答案

smpeg已移至homebrew-headonly.您可以这样安装它:

smpeg has been moved to homebrew-headonly. You can install it like this:

brew tap homebrew/headonly
brew install --HEAD smpeg

这篇关于自制:没有适用于smpeg的公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆