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

Photon runs only on Python 3.2 and above #180

Open
sheteachtechie opened this issue Sep 13, 2021 · 1 comment
Open

Photon runs only on Python 3.2 and above #180

sheteachtechie opened this issue Sep 13, 2021 · 1 comment

Comments

@sheteachtechie
Copy link

While doing some test, I get this message "Photon runs only on Python 3.2 and above" meanwhile, my python version is 3.9.2

@bstivers
Copy link

bstivers commented Dec 10, 2021

That error comes from the urllib import.

# photon.py
---
try:
    from urllib.parse import urlparse  # For Python 3
except ImportError:
    print('%s Photon runs only on Python 3.2 and above.' % info)
    quit()

Are you trying to run locally or via the docker image? If trying to run locally, did you run pip install -r requirements.txt?

Pretty sure you're not running the docker image, because the python:3-alpine base image has python3.10.1

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