mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-07 22:04:48 +03:00
When compile djang REST framework with pypandoc using OpenWRT toolchain,
it raises the error: ``` warning: pypandoc module not found, could not convert Markdown to RST Traceback (most recent call last): File "./setup.py", line 86, in <module> long_description=read_md('README.md'), File "./setup.py", line 19, in read_md return open(f, 'r').read() File "/GIT_POOL/OpenWRT/OpenWrt-SDK-mvebu_gcc-4.8-linaro_uClibc-0.9.33.2_eabi.Linux-x86_64/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/usr/lib/python3.4/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 4874: ordinal not in range(128) ``` I specify encoding='utf-8' to resolve the building failure. modified: setup.py
This commit is contained in:
parent
6ff9840bde
commit
f6aa58f22d
Loading…
Reference in New Issue
Block a user