Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PermissionError #342

Open
gokulEmbedded opened this issue Nov 26, 2018 · 4 comments
Open

PermissionError #342

gokulEmbedded opened this issue Nov 26, 2018 · 4 comments

Comments

@gokulEmbedded
Copy link

gokulEmbedded commented Nov 26, 2018

when i tried this code

from pydub import AudioSegment
from pydub.playback import play

sound = AudioSegment.from_file("music.wav", format="wav")
play(sound)

i getting this error
PermissionError: [Errno 13] Permission denied: 'C:\Users\user\AppData\Local\Temp\tmpxyrzqei0.wav'

i tried with 'run as administrator' but not work

i locked this point in last 2 days

@gaby64
Copy link

gaby64 commented Nov 27, 2018

this seems to be the fix

pip install simpleaudio

@gokulEmbedded
Copy link
Author

simpleaudio dependency visual C++ 14.0 is not installed my machine.

@jiaaro
Copy link
Owner

jiaaro commented Nov 28, 2018

sounds like you'll need to install a C compiler (such as visual C++)

@BrenoHA
Copy link

BrenoHA commented Aug 26, 2021

@gokulEmbedded Take a loot at this solution, it worked for me #209 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants