Open tansangxtt opened 2 years ago
This fix unfortunately does not work for me
#0 10.15 ERROR: Cannot install -r /tmp/requirements.txt (line 10), -r /tmp/requirements.txt (line 11) and -r /tmp/requirements.txt (line 2) because these package versions have conflicting dependencies.
#0 10.15
#0 10.15 The conflict is caused by:
#0 10.15 tensorflow-gpu 2.8.0 depends on typing-extensions>=3.6.6
#0 10.15 apache-beam 2.34.0 depends on typing-extensions<4 and >=3.7.0
#0 10.15 pydantic 1.10.1 depends on typing-extensions>=4.1.0
#0 10.15
#0 10.15 To fix this you could try to:
#0 10.15 1. loosen the range of package versions you've specified
#0 10.15 2. remove package versions to allow pip attempt to solve the dependency conflict
#0 10.15
#0 10.15 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
#0 10.15
#0 10.15 [notice] A new release of pip is available: 23.0.1 -> 23.2.1
#0 10.15 [notice] To update, run: pip install --upgrade pip
------
ERROR: failed to solve: executor failed running [/bin/sh -c pip install -r /tmp/requirements.txt]: exit code: 1
ⅹ Failed to build Docker image: exit status 1
In the current example Resnet,
generates the following error logs:
My workaround is to downgrade the pydantic 1.10.1, and it leads to my cog.yaml changed into: