Hi,
I'm new to installing packages for python and I'm stuck unable to install playsound. I've installed the latest version of Python. I've installed latest version of PIP. When I try to run:
python -m pip install playsound.py
EDIT: Ive used various other combinations of commands as per Dr Googles suggestions and get the same error regardless of what I type.
I get the following error:
Im sure everyone knows the .tar file contains various files but I have no idea what PIP needs to install form this archive file. Is it the whole .tar or the files within or a single file?
If someone could show me the file/folder pip uses that would be really helpful.
Thanks in advance. M
EDIT: PS IM using OS X 12.7.1
I'm new to installing packages for python and I'm stuck unable to install playsound. I've installed the latest version of Python. I've installed latest version of PIP. When I try to run:
python -m pip install playsound.py
EDIT: Ive used various other combinations of commands as per Dr Googles suggestions and get the same error regardless of what I type.
I get the following error:
Error: File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/inspect.py", line 1093, in findsource
raise OSError('could not get source code')
OSError: could not get source code
[end of output]
So my guess is that it can't download/find the files to install so I've downloaded dist\playsound-1.3.0.tar from GitHub at https://github.com/TaylorSMarks/playsoundIm sure everyone knows the .tar file contains various files but I have no idea what PIP needs to install form this archive file. Is it the whole .tar or the files within or a single file?
If someone could show me the file/folder pip uses that would be really helpful.
Thanks in advance. M
EDIT: PS IM using OS X 12.7.1