安装步骤:
安装python,官网下载安装即可,当前最新版版本是3.9但很多支持资源库还没有个跟上,还是先用3.7比较保险,这里选择使用3.7.3进行安装。安装的时候注意选择注册环境变量。
安装vscode,比较简单,按照微软的默认设置一路next即可。
安装PyQt5:
注:由于访问速度问题,在国内安装的python模块的时候,最好使用国内的镜像,比如下面都是使用的清华镜像。
python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simpe
pip install pyqt5-tools -i https://pypi.tuna.tsinghua.edu.cn/simple
在VSCode里面配置一下designer.exe的位置:
PyQt5环境安装完毕。
--------------------------------------------------------------------------------------
安装OpenCV:
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install Matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
联系客服