Python Forum
Cant install gtts module Python 3.4 [SOLVED]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cant install gtts module Python 3.4 [SOLVED]
#1
I cant install the google text to speech module (gtts) on Python 3.4.2
OS is Linux Mint 17.3 and using pip3.

Gtts appears to download and install...

Quote:sudo pip3 install gtts
Downloading/unpacking gtts
Downloading gTTS-2.0.3.tar.gz
Running setup.py (path:/tmp/pip_build_root/gtts/setup.py) egg_info for package gtts

Installing collected packages: gtts
Running setup.py install for gtts

Successfully installed gtts
Cleaning up...

|However list of pip3 packages shows:
pip3 list
apt-clone (0.2.1)
gTTS-token (1.1.3)
pexpect (3.1)
Pillow (2.3.0)
pip (1.5.4)
setuptools (3.3)
six (1.5.2)
UNKNOWN (2.0.3)
urllib3 (1.7.1)


The current verion of gtts is 2.0.3
https://pypi.org/project/gTTS/#files

and the UNKNOWN item also has 2.0.3

If I start a python shell and try and import gtts , the module is not found:

 python3
Python 3.4.3 (default, Nov 12 2018, 22:25:49) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtts
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'gtts'
>>> from gtts import gTTS
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'gtts'
>>> 
Thanks in advance for any help.
I have it working fine on python3.5 on a different computer just cant
get it working on this version.
Reply


Messages In This Thread
Cant install gtts module Python 3.4 [SOLVED] - by cygnus_X1 - Jan-03-2019, 11:06 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020