lk-geimfari / mimesis

Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages.
https://mimesis.name
MIT License
4.39k stars 330 forks source link

setup.py encoding error (python 2.7.3, debian) #271

Closed tamlt2704 closed 6 years ago

tamlt2704 commented 6 years ago

step 1: clone repository step 2: cd mimesis && pip install . Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-qr3xMU-build/setup.py", line 31, in with open('PYPI_README.rst', 'r', encoding='utf-8') as f: TypeError: 'encoding' is an invalid keyword argument for this function

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-qr3xMU-build/

python --version # --> 2.7.13, uname -a # --> Linux debian 4.11.0-1-amd64 #1 SMP Debian 4.11.6-1 (2017-06-19) x86_64 GNU/Linux

lk-geimfari commented 6 years ago

We don't support old version of Python, sorry.