Installing mqttwarn through pip croaks with UnicodeDecodeError
See original GitHub issueWhen building 0.11.3 as found at https://pypi.org/project/mqttwarn/, I hit this error:
===> Configuring for py36-mqttwarn-0.11.3
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 7, in <module>
README = open(os.path.join(here, 'README.rst')).read()
File "/usr/local/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 4963: ordinal not in range(128)
*** Error code 1
I have encountered this on other applications, but I do not recall the fix. To get around this and proceed with the build, I did this:
rm README.rst
touch README.rst
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
pip install UnicodeDecodeError - python - Stack Overflow
This is a known issue with pip with an unreleased (as of 26/11/2014) fix. Since you are using Python 2.7, you can manually...
Read more >mqttwarn - PyPI
Documentation. The handbook is the right place to read all about mqttwarn's features and service plugins. Installation. Synopsis: pip install ...
Read more >python3 setup unicode error - Google Groups
UnicodeDecodeError : 'ascii' codec can't decode byte 0xc3 in position 2092: ... The same error occurs when I try to install the latest...
Read more >Pip Install with Docker and Fixing the ascii decode error
When trying to install python packages with pip inside a Docker container, you may get an error like: UnicodeDecodeError: 'ascii' codec ...
Read more >Python 3.6 UnicodeDecodeError: Invalid continuation byte
language: python python: '3.6' cache: pip before_install: ... -out keyfile -d install: - pip install -r requirements.txt - sudo bash ...
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
Thanks for your report, @dlangille. Please note that we’re not as yet Python3 capable, which is why you’re seeing all those errors. The version on PyPi still requires Python2.
Dear Dan,
7411a39 might fix the installation issue re.
README.rst
for you. Also, 40fa69a5 finally brings mqttwarn way closer to Python3 (#336).The most recent version can be installed using
pip install mqttwarn
and should work with both Python 2 and Python 3. We will be happy to hear back from you about the outcome.With kind regards, Andreas.