Re: No module named 'playsound'
Eryk Sun
eryksun at gmail.com
Mon Jan 9 15:00:02 EST 2023
On 1/9/23, MRAB <python at mrabarnett.plus.com> wrote:
>
> On Windows it's best to use pip via the Python Launcher:
>
> py -m pip show playsound
Python's app distribution on the Microsoft Store doesn't include the
py launcher, and we don't (but should) have a standalone app or
desktop version of the launcher. Unlike the desktop distribution,
however, the app distribution installs a versioned name as a link,
such as "python3.11". (Note that a venv virtual environment only has a
"python" command on Windows.)
If "pip" is in PATH, a versioned name such as "pip3.11" should also be
available. If multiple versions of the app distribution are installed,
and for some reason the "python" and "pip" links are mapped to
different versions, one can match up the versioned names "pip3.11" and
"python3.11" to ensure consistency. Or simply run "python -m pip".
More information about the Python-list
mailing list