适用OS:Ubuntu系统 如果没有pip,可以先安装pip【有了可自行忽略直接下一行】: sudo apt-get install python-pip 安装好pip后,直接输入代码: pip install opencv-python