由于setup.py egg_info错误代码1,无法安装django-redactorjs

时间:2018-06-18 01:22:56

标签: django

我一直在尝试使用pip安装django-redactorjs,但它会返回:

 Collecting django-redactorjs
 Using cached https://files.pythonhosted.org/packages/9b/52/016fda62f70f6b0c7be462ccb5e0fe2b9da1960fdbdd708c650cb4a974b8/django-redactorjs-0.3.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\yumie\AppData\Local\Temp\pip-install-8yx4o35h\django-redactorjs\setup.py", line 6, in <module>
    readme = f.read()
  File "c:\users\yumie\envs\ojt\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 1639: character maps to <undefined>

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\yumie\AppData\Local\Temp\pip-install-8yx4o35h\django-redactorjs\

我已经尝试更新pip,但它仍然是同样的错误。

0 个答案:

没有答案