installing playsound in python3
- Anmelden oder Registrieren um Kommentare zu schreiben
Hello!
I want to install playsound in python3.
I have tried:
sudo apt-get install python3-playsound
But I got following message:
E: Unable to locate package python3-playsound
I cannot install pip3 either.
What shall I do?
Thank you for answering.
All right!
But is there any free python packages for editing and playing sounds?
Python packages are not installed via dpkg package manager. On my system, I have the following packages installed:
pipenv
python-pip-whl
python3-pip
And then use the following command to install python packages:
pip3 install -U package_name
The python package will be installed in /home/username/.local/bin
However, most pypi repositories require recent versions of said packages, whereas packages in Trisquel are gravely outdated, so it's not recommend to do it on Trisquel, unless you can manually update said packages and their dependencies.
Hello
You can add pip repositories in this way: (run in terminal)
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
pip install playsound
But (be carful)...! in pip repository there is non-free softwares...
Hi!
And thank you for the help.
I did as you said and managed to install both playsound and pip.
Thank as well for your warning ;)
- Anmelden oder Registrieren um Kommentare zu schreiben