You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
Installing from source gives UnicodeDecodeError #129
When I install rsa with source, it fails with an ascii codec error.
It works if I install it with the wheel.
Environment Versions
OS Type CentOS 7
Python version: Python 3.6.6
pip version: pip 8.1.2 from /usr/lib/python3.6/site-packages (python 3.6)
Steps to replicate
$ docker run -it --rm centos:7 bash
# yum install -y epel-release
...
# yum install -y python36-pip
...
# pip3.6 install --no-binary :all: rsa
Collecting rsa
Downloading https://files.pythonhosted.org/packages/cb/d0/8f99b91432a60ca4b1cd478fd0bdf28c1901c58e3a9f14f4ba3dba86b57f/rsa-4.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-build-oh4v54vc/rsa/setup.py", line 20, in <module>
long_description = f.read()
File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 898: ordinal not in range(128)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-oh4v54vc/rsa/
You are using pip version 8.1.2, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Activity
simonvanderveldt commentedon Jun 25, 2019
Seems like there's something wrong with the readme?
NixOS/nixpkgs#53116
sybrenstuvel commentedon Jun 26, 2019
Please test with the latest revision of the
masterbranch, it should be fixed now. If you can confirm it's fixed, I can release it.thusoy commentedon Jul 15, 2019
I can confirm that the problem is fixed on master for me at least.
sybrenstuvel commentedon Aug 4, 2019
Thanks for checking. I'm preparing version 4.1 for release soon.
Updated CHANGELOG for fix of #129
AbdealiLoKo commentedon Feb 11, 2020
Any update for the release ?