Невозможно установить pyrebase на Ubuntu 16LTS - PullRequest
0 голосов
/ 03 мая 2020

Я использую AWS Экземпляр Ubuntu 16LTS EC2. Я не могу установить pyrebase на сервер.

Я пытаюсь установить

sudo pip3 install pyrebase

Но выдает эту ошибку

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Как я могу установить этот пакет?

Вот полная ошибка

     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o1u70p4f/jws/setup.py'"'"'; __file__='"'"'/tmp/pip-install-o1u70p4f/jws/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-opqe6vjj
         cwd: /tmp/pip-install-o1u70p4f/jws/
    Complete output (9 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-o1u70p4f/jws/setup.py", line 17, in <module>
        long_description=read('README.md'),
      File "/tmp/pip-install-o1u70p4f/jws/setup.py", line 5, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
      File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 500: ordinal not in range(128)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.```
...