PyQt5 Qt Designer入门
第一章 PyQt5 Qt Designer入门
1. 环境搭建
搭建的开发环境: Anaconda + PyQt5 + Pyqt5_tools(Qt Designer) + eric6, 详细安装流程参考了网上的教程。
安装过程中,涉及到anaconda和pip源的更换,使用了清华的源,过程如下:
1. 1 Anaconda 源配置
(1) 第一次运行conda config命令时,将会在用户的home目录下创建.condarc配置文件。
(Windows: C:\users\username, linux: /home/username/)
(2) 添加清华镜像, 文件内容如下:
ssl_verify: true
show_channel_urls: true
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
关闭控制台窗口, 重新打开才会重新加载配置。
(3)查看conda 信息 :conda info
active environment : None
user config file : C:\Users\tansf\.condarc
populated config files : C:\Users\tansf\.condarc
conda version : 4.8.5
conda-build version : 3.15.1