removing links and add intel as the channel to download from

This commit is contained in:
rahulunair
2018-12-10 10:08:07 -08:00
committed by William Douglas
parent c66e73fdf9
commit 329787c980
+2 -4
View File
@@ -13,9 +13,7 @@ mkdir -p /etc/profile.d && \
source ~/.bashrc
# create an env and install Tensorflow
echo "Installing Tensorflow with MKL..."
conda create -y -n tf_env tensorflow nltk && \
echo "PATH=/opt/conda/envs/tf_env/bin:$PATH" >> ~/.bashrc && \
conda create -y -n tf_env tensorflow nltk -c intel && \
echo "export PATH=/opt/conda/envs/tf_env/bin:$PATH" >> ~/.bashrc && \
echo "conda activate tf_env" >> ~/.bashrc
ln -s -f /opt/conda/envs/tf_env/bin/python /usr/bin/python
ln -s -f /opt/conda/envs/tf_env/lib/python3.6/site-packages /opt/conda/lib/python3.7/site-packages
source ~/.bashrc