Last active
September 3, 2018 22:28
-
-
Save smartinsightsfromdata/562b14862ee79f3299e885336f125105 to your computer and use it in GitHub Desktop.
ubuntu - python image
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
vi ~/.bashrc | |
alias python=python3.6 | |
alias pip=pip3 | |
source ~/.bashrc | |
# sudo su - | |
sudo apt update | |
sudo apt upgrade | |
sudo apt-get -y install python3 python3-dev python3-venv python3-pip python3-setuptools | |
sudo apt-get -y install ipython3 | |
pip3 install -U wheel | |
pip3 install jupyter | |
sudo vi /etc/ssh/sshd_config | |
AllowTcpForwarding yes | |
PermitTunnel yes | |
sudo apt-get install libopenblas-dev libopenblas-base | |
sudo apt-get install build-essential autoconf libtool pkg-config | |
sudo apt-get install python3-numpy python3-bcolz python3-bottleneck python3-multipletau python3-numexpr python3-numpydoc python3-rasterio python3-snuggs | |
sudo apt-get install python3-sane python3-nibabel python3-pil python3-pil.imagetk | |
sudo apt-get install python3-pyside.qtopengl python3-pyqt5.qtopengl python3-pyqt4.qtopengl python3-opengl | |
pip3 install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-linux_x86_64.whl | |
pip3 install torchvision |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment