ffreemt / deepl-tr-async

deepl translate via pyppeteer
MIT License
11 stars 0 forks source link

Insallation Error with pip #2

Closed A2va closed 3 years ago

A2va commented 4 years ago

When I installed your package with pip. pip send me an error Log:

pip install deepl-tr-async
Collecting deepl-tr-async
  Using cached deepl_tr_async-0.0.3-py3-none-any.whl (18 kB)
Collecting logzero<2.0.0,>=1.5.0
  Using cached logzero-1.5.0-py2.py3-none-any.whl (14 kB)
Collecting pyppeteer2<0.3.0,>=0.2.2
  Using cached pyppeteer2-0.2.2-py3-none-any.whl (161 kB)
Collecting pyquery<2.0.0,>=1.4.1
  Using cached pyquery-1.4.1-py2.py3-none-any.whl (22 kB)
Collecting polyglot<17.0.0,>=16.7.4
  Using cached polyglot-16.7.4.tar.gz (126 kB)
    ERROR: Command errored out with exit status 1:
     command: 'd:\compiler\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Antoine Leresche\\AppData\\Local\\Temp\\pip-install-2k1vd0uh\\polyglot\\setup.py'"'"'; __file__='"'"'C:\\Users\\Antoine Leresche\\AppData\\Local\\Temp\\pip-install-2k1vd0uh\\polyglot\\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 'C:\Users\Antoine Leresche\AppData\Local\Temp\pip-pip-egg-info-dcttd5j9'
         cwd: C:\Users\Antoine Leresche\AppData\Local\Temp\pip-install-2k1vd0uh\polyglot\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Antoine Leresche\AppData\Local\Temp\pip-install-2k1vd0uh\polyglot\setup.py", line 15, in <module>
        readme = readme_file.read()
      File "d:\compiler\python38-32\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 4941: character maps to <undefined>
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.