在ubuntu下,若已经安装好anaconda和tensorflow,则安装opencv特别简单。 在命令行输入: source activate tensorflow pip install opencv-python 很简单就安好了。