Demonware / jose

Python implementation of the Javascript Object Signing and Encryption (JOSE) framework (https://datatracker.ietf.org/wg/jose/charter/)
BSD 3-Clause "New" or "Revised" License
95 stars 34 forks source link

pip3 install fails #30

Open default-work opened 4 years ago

default-work commented 4 years ago

On Ubuntu 18.04 with Docker for Python 3.6.8, the RUN pip3 install --trusted-host pypi.python.org -r requirements.txt command fails with message:

Collecting jose (from -r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/01/3d/832caa69cd0d3be2d608d8290be2221072669aa88e87690837f6b31c480f/jose-1.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-build-z90crgu0/jose/setup.py", line 15, in <module>
        CONTRIB = open(os.path.join(here, 'CONTRIB')).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 0xc3 in position 107: ordinal not in range(128)