Closed Th3R3dL4rv4 closed 2 years ago
Added RUN pip3 install --upgrade pip==19.3.1.
RUN pip3 install --upgrade pip==19.3.1
This will prevent the errors:
=> ERROR [ 4/22] RUN pip3 install -U scikit-learn 0.6s ------ > [ 4/22] RUN pip3 install -U scikit-learn: #7 0.576 Traceback (most recent call last): #7 0.576 File "/usr/local/bin/pip3", line 7, in <module> #7 0.576 from pip._internal.cli.main import main #7 0.576 File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 57 #7 0.576 sys.stderr.write(f"ERROR: {exc}") #7 0.576 ^ #7 0.576 SyntaxError: invalid syntax ------ executor failed running [/bin/sh -c pip3 install -U scikit-learn]: exit code: 1
Added
RUN pip3 install --upgrade pip==19.3.1
.This will prevent the errors: