Closed NalaGinrut closed 3 months ago
You're probably using the wrong interpreter. Try using python -m pip {...}
instead of just pip {...}
.
If that doesn't work either, try deleting the venv
folder, re-initializing it, then running pip install -U wheel
first, and then install all other requirements.
I've tried python -m pip ...
and remove venv
then re-initializing, however, it still doesn't work.
This is what worked for me: https://github.com/TaylorSMarks/playsound/issues/150#issuecomment-1943173094
Thank you for all the helps!
The issue was solved by python3 -m pip install wheel playsound
The point is that one must make sure to upgrade the pacakage with the python in virtualenv dir.
And this part is necessary for me:
python3 -m pip install --upgrade pip && \
python3 -m pip install setuptools wheel && \
python3 -m pip install --upgrade setuptools wheel && \
python3 -m venv .venv && . .venv/bin/activate && \
pip install -r requirements.txt
I thought you'd already tried that.. Well, whatever, glad it worked for you.
Describe the bug The
playsound
installation still failed after FAQ hint.System info
To Reproduce Assuming the virtualenv process prepared successfully.
Error log
The FAQ hint doesn't work In FAQ, it's hinted:
However, it doesn't solve the issue. It throws the same failure.
Thanks!