Hello, I'm very new to Pulumi and I'm trying to im...
# aws
s
Hello, I'm very new to Pulumi and I'm trying to implement this https://www.pulumi.com/registry/packages/aws/how-to-guides/video-thumbnailer however I run into the following issue when running `pulumi up`:
Copy code
#5 29.97 Collecting pip
    #5 30.17   Downloading <https://files.pythonhosted.org/packages/da/f6/c83229dcc3635cdeb51874184241a9508ada15d8baa337a41093fab58011/pip-21.3.1.tar.gz> (1.7MB)
    #5 30.79     Complete output from command python setup.py egg_info:
    #5 30.79     Traceback (most recent call last):
    #5 30.79       File "<string>", line 1, in <module>
    #5 30.79       File "/tmp/pip-build-hQd70M/pip/setup.py", line 7
    #5 30.79         def read(rel_path: str) -> str:
    #5 30.79                          ^
    #5 30.79     SyntaxError: invalid syntax
    #5 30.79
    #5 30.79     ----------------------------------------
    #5 30.82 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-hQd70M/pip/
    #5 31.38 You are using pip version 8.1.1, however version 21.3.1 is available.
    #5 31.38 You should consider upgrading via the 'pip install --upgrade pip' command.
    #5 ERROR: executor failed running [/bin/sh -c apt-get update &&     apt-get install python-dev python-pip -y &&     apt-get clean && pip install --upgrade pip]: exit code: 1
    ------
     > [2/4] RUN apt-get update &&     apt-get install python-dev python-pip -y &&     apt-get clean && pip install --upgrade pip:
    ------
    executor failed running [/bin/sh -c apt-get update &&     apt-get install python-dev python-pip -y &&     apt-get clean && pip install --upgrade pip]: exit code: 1
My code is identical to the one in the article, Docker is running, I'm on MacOS 12.1.
b
@stale-king-21470 what verison of python are you using?
s
@billowy-army-68599 do you mean locally? I'm not sure which one is being picked up, my system uses
2.7.18
but I also have
3.10.1
installed. In the Dockerfile I have these commands so I guess it should install the latest version?
Copy code
RUN apt-get update && \
    apt-get install python-dev python-pip -y && \
    apt-get clean && pip install --upgrade pip