Last active
May 6, 2019 08:50
-
-
Save chenyaofo/1ba93970fcfd0a05d46e84b30de2268c to your computer and use it in GitHub Desktop.
my conda env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh -c "$(wget https://gist.githubusercontent.com/chenyaofo/1ba93970fcfd0a05d46e84b30de2268c/raw/08572926d1ae81b45a2b6fa3df50a0d794f2c802/myenv.sh -O -)" | |
sh -c "$(wget https://gist.githubusercontent.com/chenyaofo/1ba93970fcfd0a05d46e84b30de2268c/raw/08572926d1ae81b45a2b6fa3df50a0d794f2c802/myenv_pip.sh -O -)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf ~/miniconda3.sh && \ | |
rm -rf ~/miniconda3 && \ | |
proxychains4 wget https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh -O ~/miniconda3.sh && \ | |
/bin/bash ~/miniconda3.sh -b -p ~/miniconda3 && \ | |
proxychains4 ~/miniconda3/bin/conda install dataclasses ipython pyhocon -c conda-forge -y && \ | |
proxychains4 ~/miniconda3/bin/conda install pytorch torchvision cudatoolkit=10.0 -c pytorch -y && \ | |
proxychains4 ~/miniconda3/bin/conda install tensorflow -c anaconda -y && \ | |
proxychains4 ~/miniconda3/bin/conda update pip -c conda-forge -y && \ | |
~/miniconda3/bin/pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && \ | |
~/miniconda3/bin/pip install git+https://github.com/chenyaofo/flame.git@master && \ | |
echo ' ______ _ ______ ___ __' && \ | |
echo ' / ____/___ (_)___ __ __ / ____/___ ____/ (_)___ ____ _ / /' && \ | |
echo ' / __/ / __ \ / / __ \/ / / / / / / __ \/ __ / / __ \/ __ `/ / / ' && \ | |
echo ' / /___/ / / / / / /_/ / /_/ / / /___/ /_/ / /_/ / / / / / /_/ / /_/ ' && \ | |
echo '/_____/_/ /_/_/ /\____/\__, / \____/\____/\__,_/_/_/ /_/\__, / (_) ' && \ | |
echo ' /___/ /____/ /____/ ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -rf ~/miniconda3.sh && \ | |
rm -rf ~/miniconda3 && \ | |
wget https://mirrors.cloud.tencent.com/anaconda/miniconda/Miniconda3-4.5.12-Linux-x86_64.sh -O ~/miniconda3.sh && \ | |
/bin/bash ~/miniconda3.sh -b -p ~/miniconda3 && \ | |
~/miniconda3/bin/pip install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple pip && \ | |
~/miniconda3/bin/pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && \ | |
~/miniconda3/bin/pip install torch torchvision && \ | |
~/miniconda3/bin/pip install ipython pyhocon future tb-nightly && \ | |
~/miniconda3/bin/pip install git+https://github.com/chenyaofo/flame.git@master && \ | |
echo ' ______ _ ______ ___ __' && \ | |
echo ' / ____/___ (_)___ __ __ / ____/___ ____/ (_)___ ____ _ / /' && \ | |
echo ' / __/ / __ \ / / __ \/ / / / / / / __ \/ __ / / __ \/ __ `/ / / ' && \ | |
echo ' / /___/ / / / / / /_/ / /_/ / / /___/ /_/ / /_/ / / / / / /_/ / /_/ ' && \ | |
echo '/_____/_/ /_/_/ /\____/\__, / \____/\____/\__,_/_/_/ /_/\__, / (_) ' && \ | |
echo ' /___/ /____/ /____/ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment