Miserlou / Zappa

Serverless Python
https://blog.zappa.io/
MIT License
11.89k stars 1.2k forks source link

fails to pip install zappa #2191

Open AndroLee opened 3 years ago

AndroLee commented 3 years ago

"pip install zappa" returns an error

Context

Collecting zappa Using cached zappa-0.52.0-py3-none-any.whl (114 kB) Requirement already satisfied: wheel in c:\users\leeandr\pycharmprojects\mychatbot2\venv\lib\site-packages (from zappa) (0.36.1) Requirement already satisfied: pip>=9.0.1 in c:\users\leeandr\pycharmprojects\mychatbot2\venv\lib\site-packages (from zappa) (20.3.3) Collecting kappa==0.6.0 Using cached kappa-0.6.0.tar.gz (29 kB) ERROR: Command errored out with exit status 1: command: 'c:\users\leeandr\pycharmprojects\mychatbot2\venv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\leeandr\AppData\Local\Temp\pip-install-qbrjlaxm\kappa_53d6de6b432849b3bdabd76fb0731947\setup.py'"'"'; file='"'"'C:\Users\leeandr\AppData\Local\Temp\pip-install-qbrjlaxm\kappa_53d6de6b432849b3bdabd76fb0731947\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\leeandr\AppData\Local\Temp\pip-pip-egg-info-s73bwltt' cwd: C:\Users\leeandr\AppData\Local\Temp\pip-install-qbrjlaxm\kappa_53d6de6b432849b3bdabd76fb0731947\ Complete output (7 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\leeandr\AppData\Local\Temp\pip-install-qbrjlaxm\kappa_53d6de6b432849b3bdabd76fb0731947\setup.py", line 54, in run_setup() File "C:\Users\leeandr\AppData\Local\Temp\pip-install-qbrjlaxm\kappa_53d6de6b432849b3bdabd76fb0731947\setup.py", line 22, in run_setup long_description=open_file('README.rst').read(), UnicodeDecodeError: 'cp950' codec can't decode byte 0xe2 in position 2339: illegal multibyte sequence

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Expected Behavior

pip install is successful.

Actual Behavior

It returns a failure as above.

Possible Fix

NA

Steps to Reproduce

Not sure if a Traditional Chinese version of Windows matters but it is what I have.

Your Environment