#Python - Docker Error

8 messages · Page 1 of 1 (latest)

nocturne estuary
#

Does it run correctly outside of the docker container?

signal hare
#

Yes, seems so. port is having duplicate issue thou

nocturne estuary
#

Well since it runs that makes me think you have different versions of the packages installed. Did you use Python 10 when running it outside of the container?

signal hare
#

erm I am running python 3.9.6 on macOS

nocturne estuary
#

Hmm is the code in the docker container actually the code you shared? It's expecting you to use the methods keyword in the route decorator but it's getting method instead. The code you shared is correct, so I'm confused why the error message says it's incorrect.

#

Did you change the keyword from method to methods at some point?

signal hare
#

Yes but it didnt work either.