Installing doesn't work because of unicode issue in README.rst
See original GitHub issueTried to install using pip3 and pip. I’m using Arch Linux.
sudo pip3 install gTTS
Collecting gTTS
Using cached https://files.pythonhosted.org/packages/eb/de/a932d79e20542a61649b80fc74798cce27677ba72507d55afa578f019379/gTTS-2.0.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-11a_6hmq/gTTS/setup.py", line 19, in <module>
long_description=open('README.rst').read(),
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1125: ordinal not in range(128)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-11a_6hmq/gTTS/
As a workaround I cloned the repo and edited the setup.py file to set long_description
to a string instead of having it read from the file. This appears to of have worked as a workaround and it installed fine.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
README.rst unicode causing problems · Issue #121 · fplll/fpylll
It is read in setup.py as follows: long_description=open('README.rst').read() And apparently python expects long_description to be a simple ...
Read more >Unicode character causing error with bdist_wininst on python ...
I've traced the problem to the inclusion of unicode in my readme file. The readme file gets read into setup.py. The bug occurs...
Read more >restview - PyPI
A viewer for ReStructuredText documents that renders them on the fly. Pass the name of a ReStructuredText document to restview, and it will...
Read more >VAST Platform 2022 (All Versions) Readme - Instantiations
Run the downloaded VAST Platform Product Installer, VASTPlatform2022_11.0.1x86.exe (32-bit) or VASTPlatform2022_11.0.1x64.exe (64-bit). Complete installation ...
Read more >How Can I Convert Github-Flavored Markdown To A PDF
I've had success using grip to display markdown in Chrome and then use Chrome's "Save as PDF" option in the Print dialog. pip...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
got the same bug on OSX, but overall thanks for the library it really helps 😃
Fixed in gTTS
2.0.1
!