Skip to content

Instantly share code, notes, and snippets.

@tzutalin
Created June 10, 2018 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tzutalin/8132d146a9b8301a34211925dffcc5ac to your computer and use it in GitHub Desktop.
Save tzutalin/8132d146a9b8301a34211925dffcc5ac to your computer and use it in GitHub Desktop.
Ubuntu install opencv + anacoda
#!/bin/sh
# ubuntu install opencv + anaconda
# anaconda
curl -O https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh
sha256sum Anaconda3-4.3.1-Linux-x86_64.sh
bash Anaconda3-4.3.1-Linux-x86_64.sh
# paste the below to bashrc
export PATH=~/anaconda3/bin:$PATH
source ~/.zshrc
conda search "^python$"
conda create --name my_env python=3
# opencv
wget https://raw.githubusercontent.com/dselivanov/scripts-ubuntu-debian/master/install-opencv.sh
sh install-opencv.sh
pip install opencv-python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment