Comments (11)
For anyone still having this issue... try
brew uninstall libvorbis libogg # if you have them installed
brew reinstall sdl_mixer --with-libvorbis
from mario-level-1.
It might have to do with your installation of pygame. Try either reinstalling pygame or maybe just SDL_mixer: http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.zip
Let me know if that helps or not. I have a feeling one of the dependencies dealing with music is not installed properly.
from mario-level-1.
I got it to work with Homebrew by doing the following. Thanks!
brew install libvorbis
brew reinstall sdl_mixer
On Sat, Feb 22, 2014 at 2:34 PM, justinmeister [email protected]:
It might have to do with your installation of pygame. Try either
reinstalling pygame or maybe just SDL_mixer:
http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.zipLet me know if that helps or not. I have a feeling one of the dependencies
dealing with music is not installed properly.Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-35812003
.
from mario-level-1.
Thanks WilliamQLiu - Your solution worked for me too!
from mario-level-1.
Thanks WilliamQLiu - Your solution worked for me too!
from mario-level-1.
Thanks @hamidnazari, that worked for me in my project, after spending 2 days trying to get pygame to play mp3 and ogg files on OSX.
from mario-level-1.
It worked also for me!! Great!
OS X Yosemite 10.10.3
Python 3.4.2
Pygame 1.9.1
Thank's guys
from mario-level-1.
Reinstalling sdl_mixer
worked for me too, thanks.
from mario-level-1.
I still have the same issue, after trying to install libvorbis, and uninstall both libogg and libvorbis, and reinstalling sdl_mixer. Is there a full list of dependencies somewhere I'm overlooking?
from mario-level-1.
Fixed my issue, here's what was going on:
SDL Mixer wasn't compiling with smpeg support because no docs include smpeg as a dependency. Also compiled SDL Mixer (just config, make, make install, nothing fancy).
For any of those having the same issue, I wrote this up on a Stack Overflow question with the same issue.
You can ignore step2 if you have already installed pygame. Also change pip3 to pip and remove python3 from the brew install list if you plan to use python27 or something
Step 1:
Install all Pygame deps for Mac with Brew (if you don't have brew, look up how to install first)
brew install python3 hg sdl sdl_image sdl_ttf portmidi smpeg
Step 2:
Install PyGame
pip3 install hg+http://bitbucket.org/pygame/pygame
Step 3:
Download sdl-mixer source code from: https://www.libsdl.org/projects/SDL_mixer/release-1.2.html
Untar the tar.gz file with tar zxvf:
tar zxvf SDL_mixer-1.2.12.tar.gz
cd SDL_mixer-1.2.12
./configure
make
sudo make install
Step 4:
Run your pygame code and see if it fixes your dependency issue
I hope this helps others who come to this with the same issue I had on OS X Yosemite
from mario-level-1.
Unfortunately first brew installation did not work. But uninstall and reinstall works! Thanks @hamidnazari
from mario-level-1.
Related Issues (20)
- Can't install HOT 2
- quick step forward bug HOT 1
- Cannot install dependencies HOT 1
- Contact
- failing dots for graphic file extensions
- how faster fps?? HOT 2
- When will we work on Level 2 HOT 1
- How to disable sound easily? HOT 1
- Highscore page possible?
- How to hold on the game waitting the trainning of an agent HOT 2
- Add LICENSE file HOT 4
- Does it work on Mac? HOT 1
- Can we pull the results from the game?
- how to build .exe file in macos? HOT 1
- libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile
- The screen freezes after taking Mushroom
- Game over image
- Requirements failed on Ubuntu 20 py.game HOT 1
- please HOT 1
- jump
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mario-level-1.