microsoft / nestle-acne-assessment

This is the source code that we developed for the collaborative project between Microsoft and Nestle Skin Health, where we developed deep learning models to assess the acne severity level based on selfie images.
70 stars 40 forks source link

=> ERROR [ 4/22] RUN pip3 install -U scikit-learn #8

Closed Th3R3dL4rv4 closed 2 years ago

Th3R3dL4rv4 commented 2 years ago

Hello!

I edited the Dockerfile's FROM to mcr.microsoft.com/cntk/release:latest and added RUN pip3 install --upgrade pip to fix the pip error, but I received this error.

=> ERROR [ 4/22] RUN pip3 install -U scikit-learn                                                                 0.5s
------
 > [ 4/22] RUN pip3 install -U scikit-learn:
#7 0.513 Traceback (most recent call last):
#7 0.513   File "/usr/local/bin/pip3", line 7, in <module>
#7 0.513     from pip._internal.cli.main import main
#7 0.513   File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 57
#7 0.513     sys.stderr.write(f"ERROR: {exc}")
#7 0.513                                    ^
#7 0.513 SyntaxError: invalid syntax
------
executor failed running [/bin/sh -c pip3 install -U scikit-learn]: exit code: 1

How to fix the error? Thank you.