Skip to content

Instantly share code, notes, and snippets.

@micabe
Last active April 5, 2020 12:24
Show Gist options
  • Save micabe/6d850afae04908816544530d736ef47a to your computer and use it in GitHub Desktop.
Save micabe/6d850afae04908816544530d736ef47a to your computer and use it in GitHub Desktop.
curl -L -O https://repo.continuum.io/miniconda/Miniconda3-4.0.5-Linux-x86_64.sh
chmod +x Miniconda3-4.0.5-Linux-x86_64.sh
./Miniconda3-4.0.5-Linux-x86_64.sh
# Paste this in your .bashrc if it exists replace it
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('$HOME/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "$HOME/miniconda3/etc/profile.d/conda.sh" ]; then
. "$HOME/miniconda3/etc/profile.d/conda.sh"
else
export PATH="$HOME/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
source ~/.bashrc
conda config --add channels conda-forge
conda config --set show_channel_urls True
conda install -c conda-forge pylint
may need this ==> sudo apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
pip install -r commons/requirements.txt
pip install -r requirements.txt
pip install ipython==7.9
pip install autopep8
yarn config set python ~/miniconda3/bin/python3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment