09/10/2019, 8:06 PM
Hi all, I am installation pulumi in container ubuntu but the end setup "pip3 install -r requirements.txt" generates an error. Any recommendation. I use link for the installation. (venv) root@d4956ca4dfa4:/quickstart# pip3 install -r requirements.txt Collecting pulumi>=1.0.0 (from -r requirements.txt (line 1)) Using cached e758fb2db3a545ffbce426e6433dd6c466c32dcba43d/pulumi-1.0.0-py2.py3-none-any.wh l Collecting pulumi-azure>=1.0.0 (from -r requirements.txt (line 2)) Using cached 22a34034d388fcb03d4d973f46cc1249e4caa9bb6bbf/pulumi_azure-1.0.0.tar.gz ERROR: Command errored out with exit status 1: command: /quickstart/venv/bin/python3 -c 'import sys, setuptools, tokeni ze; sys.argv[0] = '"'"'/tmp/pip-install-5o8b904z/pulumi-azure/'"'"'; file='"'"'/tmp/pip-install-5o8b904z/pulumi-azure/'"'"';f=getattr( tokenize, '"'"'open'"'"', open)(file);'"'"'\r\n'"'" ', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg _info --egg-base pip-egg-info cwd: /tmp/pip-install-5o8b904z/pulumi-azure/ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-5o8b904z/pulumi-azure/", line 33, in <mo dule> long_description=readme(), File "/tmp/pip-install-5o8b904z/pulumi-azure/", line 28, in rea dme return File "/quickstart/venv/lib/python3.6/encodings/", line 26, in d ecode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 436: ordinal not in range(128) ---------------------------------------- ERROR: Command errored out with exit status 1: python egg_info Check the logs for full command output.


09/10/2019, 8:30 PM
can you try upgrading pip and setup tools?
pip3 install --upgrade pip setuptools


09/10/2019, 9:12 PM
that's a pretty common bug in python packages and a pretty easy fix, although i'm not seeing the offending character
oh, smart quotes
yeah, just specify the encoding in
, and double check your other SDKs