Comments (6)
I had to install PyObjC to fix this issue.
Try this
pip3 install -U PyObjC
from playsound.
I have the same problem.
from playsound.
I tried that, but my issue wasn't solved
from playsound.
I had to install PyObjC to fix this issue.
Try this
pip3 install -U PyObjC
It worked! But doesn't the project say it has no dependencies?
from playsound.
What is the module that comes with the system copy of Python on macOS?
playsound isn't supposed to have any dependencies - I'm thinking about the possibility of making it so that playsound modifies the path when running on macOS so that it has access to that built-in module...
I think that'll be the best possible solution... I'll try figuring it out during the long holiday weekend...
from playsound.
This is now fixed on master. I have not added PyObjC as a hard dependency, but I print out a suggestion that you aught to install it. Even without it, the code still works on Python 3 on Mac, by shelling out to Mac OS's built-in python.
from playsound.
Related Issues (20)
- Not issue but what I did to fix a ton of errors HOT 1
- Releasing new Pypi version HOT 1
- tox fails with FileNotFoundError: [Errno 2] No such file or directory: '/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python' HOT 3
- playsound can be simplified and made less buggy HOT 2
- Cannot specify extra characters after a string enclosed in quotation marks. HOT 3
- change the computer and give me a error
- stop playing sound
- Stops playing sound. Error 263 for command: HOT 2
- Pyodide support
- AttributeError: 'NoneType' object has no attribute 'props' HOT 2
- Installation error: error: subprocess-exited-with-error, OSError: could not get source code HOT 3
- playsound freezes while trying to play HOT 1
- Playground exit code: 1 when installing playground on python311 pip23.1.2 HOT 11
- The `playsound` library encountered an issue when attempting to use the temporary file path in Windows, resulting in an error during playback.
- Compliance with PEP 517 HOT 8
- pip install playsound no longer works HOT 18
- Playsound can't play several mp3 HOT 4
- i can't open a window and play an mp3 at the same time
- Install issues HOT 1
- Segmentation fault on macOS Python 3.12
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 playsound.