Pathlib: Cannot Import Name 'sequence' From 'collections'
It has been a few days since I rebuilt my project but when I was testing some things this morning I wanted to update my Werkzeug package due to an issue I was having with its Multi
Solution 1:
If you have a look for the base image, you could see it just be updated 27hours ago.
$ docker images python:3
REPOSITORY TAG IMAGE ID CREATED SIZE
python 3 618fff2bfc18 27 hours ago 915MB
In fact, from its docker hub, the python:3
tag is now point to python 3.10.0
, not python 3.9
days ago when you wrote your Dockerfile.
To get ride of any incompatibility issue caused by third-party library, you'd better to downgrade your base image to python 3.9 again:
FROM python:3.9
Post a Comment for "Pathlib: Cannot Import Name 'sequence' From 'collections'"