Commit 18873cd6 authored by ymir's avatar ymir

improve pip uninstall

parent 824f80c0
Pipeline #62293 passed with stages
in 3 minutes and 8 seconds
......@@ -2,7 +2,10 @@
# coding=utf-8
set -xe
# un-install existing command line tool
pip3 uninstall -y pythoncommontools neuralnetworkcommon neuralnetworktrainercli || echo 0
pip3 uninstall -y pythoncommontools || echo 0
pip3 uninstall -y neuralnetworkcommon || echo 0
pip3 uninstall -y neuralnetworktrainercli || echo 0
rm -Rf /root/.cache/pip/
# install command line tool & dependencies
apt-get install -y openssh-client sshpass python3 python3-pip python3-psutil python3-numpy python3-requests
pip3 install --extra-index-url --trusted-host pythoncommontools neuralnetworkcommon neuralnetworktrainercli
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment