# garbage-test-temp **Repository Path**: salute83/garbage-test-temp ## Basic Information - **Project Name**: garbage-test-temp - **Description**: 临时仓库,用完就删除 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-08 - **Last Updated**: 2024-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 环境配置 ### 1. 安装配置opencv 安装opencv ```shell pip install opencv-python ``` 安装opencv-contrib ```shell pip install opencv-contrib-python ``` ### 2. 安装配置 paddle paddlex 详细的安装教程参考:[百度飞桨安装教程](https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/windows-pip.html) 安装paddle之前,需要对pip进行检查设置,paddle 需要的pip版本最低要求是:pip 20.2 检查pip版本 ```shell python -m pip --version ``` 安装最新版本的pip版本 ```shell pip install --upgrade pip ``` 、 安装paddle 2.6.0cpu版本 ```shell python -m pip install paddlepaddle==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple ``` 安装 paddlex > paddlex 不能安装在AMD的处理器上 ```shell pip install paddlex -i https://pypi.tuna.tsinghua.edu.cn/simple ``` ### 3. 安装配置 plmysql ```shell pip install pymysql ``` ### 4 安装配置 pygame 到 [pygame官网](https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame) 下载安装包,cp27代表python2.7版本,win32代表32位操作系统。我的是python3.7,系统是64位,所以我下载的是pygame-1.9.4-cp37-cp37m-win\_amd64.whl 安装wheel ```shell script pip install wheel ``` 安装pygame.whl ```shell script pip install pygame-2.1.2-cp38-cp38-win_amd64.whl ``` ### 5. 安装配置 tencentcloud ```shell script pip install -i https://mirrors.tencent.com/pypi/simple/ --upgrade tencentcloud-sdk-python ```