Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError on Docker Debian:buster-slim #40

Closed
Maelep opened this issue Oct 18, 2021 · 1 comment
Closed

SyntaxError on Docker Debian:buster-slim #40

Maelep opened this issue Oct 18, 2021 · 1 comment

Comments

@Maelep
Copy link

Maelep commented Oct 18, 2021

Traceback (most recent call last):
  File "/usr/local/bin/tzupdate", line 6, in <module>
    from tzupdate import main
  File "/usr/local/lib/python2.7/dist-packages/tzupdate.py", line 69
    ) from None
         ^
SyntaxError: invalid syntax

How to reproduce:

  1. docker run --entrypoint /bin/sh -it debian:buster-slim
  2. apt -y update
  3. apt -y --no-install-recommends install locales curl lib32gcc1 ca-certificates python-pip
  4. pip install -U tzupdate
  5. tzupdate
@cdown
Copy link
Owner

cdown commented Oct 20, 2021

You're using Python 2, which is unsupported. Please upgrade to Python 3 or use an older version of tzupdate with Python 2 support.

@cdown cdown closed this as completed Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants