File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,21 @@ sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
1414if [ " ${PYTHON_VERSION} " == " 2" ];
1515then
1616 wget https://repo.continuum.io/archive/Anaconda2-5.0.0.1-Linux-x86_64.sh
17- sudo bash Anaconda2-5.0.0.1-Linux-x86_64.sh -b -p /opt/anaconda2 && sudo chown -R 0755 /opt/anaconda2
18- PATH=/opt/anaconda3 /bin:$PATH
17+ sudo bash Anaconda2-5.0.0.1-Linux-x86_64.sh -b -p /opt/conda && sudo chown -R 0755 /opt/conda
18+ PATH=/opt/conda /bin:$PATH
1919 rm Anaconda2-5.0.0.1-Linux-x86_64.sh
2020 export PATH
2121else
2222 wget https://repo.continuum.io/archive/Anaconda3-5.0.0.1-Linux-x86_64.sh
23- sudo bash Anaconda3-5.0.0.1-Linux-x86_64.sh -b -p /opt/anaconda3 && sudo chown -R 0755 /opt/anaconda3
24- PATH=/opt/anaconda3 /bin:$PATH
23+ sudo bash Anaconda3-5.0.0.1-Linux-x86_64.sh -b -p /opt/conda && sudo chown -R 0755 /opt/conda
24+ PATH=/opt/conda /bin:$PATH
2525 rm Anaconda3-5.0.0.1-Linux-x86_64.sh
2626 export PATH
2727fi
2828
2929# Install python dependencies
30+ /opt/conda/bin/pip install --upgrade pip && \
31+ /opt/conda/bin/pip install requests
3032which python
3133
3234python setup.py sdist && python setup.py install
You can’t perform that action at this time.
0 commit comments