Giter Site home page Giter Site logo

Comments (6)

jamrod avatar jamrod commented on July 23, 2024 21

I had to install PyObjC to fix this issue.
Try this
pip3 install -U PyObjC

from playsound.

radroid avatar radroid commented on July 23, 2024

I have the same problem.

from playsound.

ahmeterhan2727 avatar ahmeterhan2727 commented on July 23, 2024

I tried that, but my issue wasn't solved

from playsound.

wibbuffey avatar wibbuffey commented on July 23, 2024

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.

TaylorSMarks avatar TaylorSMarks commented on July 23, 2024

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.

TaylorSMarks avatar TaylorSMarks commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.