安装指南

RoboMasterPy 须要 Python 3.6 或以上。

先安装依赖

如果你正使用Python 3.6.x,你需要额外安装 dataclasses (已预置在Python 3.7及以上版本):

pip install dataclasses

安装你熟悉的OpenCV发行版,推荐:

# 如果你偏爱conda环境
conda install -c conda-forge opencv

# 如果你只使用pip
pip install opencv-contrib-python

安装 RoboMasterPy

pip install robomasterpy

大功告成!