Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Python • Re: Bookworm and Python Text to Speech

$
0
0
Thanks for the help. After reading over your posts and docs, I thought that the 'apt install' looked least painful to add the gTTS library to Python. Sadly, that also generated an error. See below:

Code:

sudo apt update && sudo apt install python3-gTTS -yHit:1 http://deb.debian.org/debian bookworm InReleaseHit:2 http://deb.debian.org/debian-security bookworm-security InReleaseGet:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]Get:4 http://archive.raspberrypi.com/debian bookworm InRelease [39.1 kB]Get:5 http://archive.raspberrypi.com/debian bookworm/main arm64 Packages [534 kB]Get:6 http://archive.raspberrypi.com/debian bookworm/main armhf Packages [535 kB]Fetched 1,108 kB in 3s (371 kB/s) Reading package lists... DoneBuilding dependency tree... DoneReading state information... Done1 package can be upgraded. Run 'apt list --upgradable' to see it.Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneE: Unable to locate package python3-gTTS
IMO the virtual environment seems tedious. Is there a good tutorial about how to setup and use a venv for someone new to venv methods?

[rant]
It appears that Bookworm has made all RP books/notes/how-to websites/documentation/etc. obsolete. I hope the switch to Bookworm was worth it. I have not yet found any way to remove the mouse cursor from the screen on my kiosk web page display. I wasted hours of my life going down the 'unclutter' rabbit hole.
[/rant]

Statistics: Posted by 1dahful — Tue Apr 22, 2025 4:56 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles