question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fail to install using pip install gTTS

See original GitHub issue

When run: pip install gTTS I’m getting the following error:

`usuario@acpNotifica:~$ pip3 install gTTS Collecting gTTS Downloading https://files.pythonhosted.org/packages/77/1e/8e2990a0af8811129869a985abd9a31958125cb2098d93f18ab23f4a59c8/gTTS-2.0.2.tar.gz Running setup.py (path:/tmp/pip-build-1fg_sg05/gTTS/setup.py) egg_info for package gTTS produced metadata for project name unknown. Fix your #egg=gTTS fragments. Building wheels for collected packages: unknown, unknown Running setup.py bdist_wheel for unknown … done Stored in directory: /home/usuario/.cache/pip/wheels/88/47/6e/15f4ba2921f49ca5aed607f8310e063083edabc4a1b1ea42f9 Running setup.py bdist_wheel for unknown … error Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=‘/tmp/pip-build-1fg_sg05/unknown/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), file, ‘exec’))” bdist_wheel -d /tmp/tmpyrqfgp1_pip-wheel- --python-tag cp35: Traceback (most recent call last): File “<string>”, line 1, in <module> File “/usr/lib/python3.5/tokenize.py”, line 454, in open buffer = _builtin_open(filename, ‘rb’) FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/pip-build-1fg_sg05/unknown/setup.py’


Failed building wheel for unknown Running setup.py clean for unknown Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=‘/tmp/pip-build-1fg_sg05/unknown/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(file).read().replace(‘\r\n’, ‘\n’), file, ‘exec’))” clean --all: Traceback (most recent call last): File “<string>”, line 1, in <module> File “/usr/lib/python3.5/tokenize.py”, line 454, in open buffer = _builtin_open(filename, ‘rb’) FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/pip-build-1fg_sg05/unknown/setup.py’


Failed cleaning build dir for unknown Successfully built unknown Failed to build unknown Installing collected packages: unknown Successfully installed unknown You are using pip version 8.1.1, however version 18.1 is available. You should consider upgrading via the ‘pip install --upgrade pip’ command. `

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11

github_iconTop GitHub Comments

8reactions
ipeakermitcommented, Dec 12, 2018

For pip2 try the following workaround after failed install (Ubuntu 16.04):

cd ~/.local/lib/python2.7/site-packages/ mv UNKNOWN-2.0.2.dist-info/ gTTS-2.0.2.dist-info/ pip install --user --force-reinstall --ignore-installed --no-binary :all: gTTS

0reactions
Lonol-lastcommented, Nov 18, 2020

thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install gTTS (Google-Text-To-Speech) error - Stack Overflow
Executed the pip script by running following command $ sudo python get-pip.py. Install gTTS module $ sudo pip install gTTS.
Read more >
pip install gTTS (Google-Text-To-Speech) error - Intellipaat
1 Answer · 1. First, Installed pip script $ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py · 2. Then, Executing the pip script by running ...
Read more >
gTTS - PyPI
gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate text-to-speech API. ... pip install gTTS
Read more >
How to solve error pip is not recognized and installation ...
How to solve error pip is not recognized as an internal or external command and installation of module pyaudio, pyttsx3, wikipedia.
Read more >
How do I pip install new packages here online on Kaggle kernel
With internet option enabled, you can access the local virtual machine bash by typing inside a kernel the command with an initial "!"....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found