sublime text3配置PyQt5开发环境

来源:互联网 发布:云计算系统 编辑:程序博客网 时间:2024/06/05 20:36
  1. 安装python3
  2. 配置好python环境变量
  3. 打开sublime text3,在菜单栏选择Tools->Build System->New Build System
    输入如下内容
{    "shell_cmd": "python3 \"$file\"",    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",    "selector": "source.python"}

如果你安装的python3的bin目录下没有python3.exe,那么就将python.exe改成python3.exe就行了。
4. 安装PyQt5相关包

python -m pip install pyqt5python -m pip install pyqt5-tools
原创粉丝点击