on 11-03-2020 5:34 PM
Hi
I am trying to build a docker file using commands :
FROM $com.sap.sles.base
RUN python3.6 -m pip install numpy==1.16.4 --user
RUN python3.6 -m pip install pandas==0.24.0 --user
RUN python3.6 -m pip install sklearn --user
But still I am getting this error :
error building docker image. Docker daemon error: The command '/bin/sh -c python3.6 -m pip install numpy==1.16.4 --user' returned a non-zero code: 1No where, I am able to find the concrete solution. Although I have already read through your blog.
Hello Rachit,
This works in SAP DI 3.0.5:
FROM $com.sap.sles.ml.python
RUN python3.6 -m pip --no-cache-dir install --user --upgrade pip
RUN python3.6 -m pip --no-cache-dir install --user numpy
RUN python3.6 -m pip --no-cache-dir install --user pandas
RUN python3.6 -m pip --no-cache-dir install --user sklearn
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.