setuptools pkg_resources pip wheel failed with error code 1

Solution

Well, it seems to be a local variable issue, which can be easily resolved by entering two lines below in terminal:

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"

Reference