Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
01.安装Python3.6+PyQt5.9+Eric6+Qt5.9.md 3.02 KB
Copy Edit Web IDE Raw Blame History

01.安装Python3.6.3.md

在windows 7 x64 系统安装 Python 3.6 + PyQt 5.9 + Eric 6 + Qt 5.9.2

下载python

Python 3.6.3 Windows x86-64 executable installer

安装

直接运行即可

选择 Customize installation
Install launcher for all users(recommended)
Add Python 3.6 to PATH

安装路径: C:\Python36

安装程序自动加入用户PATH:
C:\Python36\Scripts\;C:\Python36\;

查看是否有需要升级,执行升级

pip list -o

C:\Python36>pip list -o
DEPRECATION: The default format will switch to columns in the future. You can us
e --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.con
f under the [list] section) to disable this warning.
setuptools (28.8.0) - Latest: 36.6.0 [wheel]


C:\Python36>pip install -U setuptools
Collecting setuptools
  Using cached setuptools-36.6.0-py2.py3-none-any.whl
Installing collected packages: setuptools
  Found existing installation: setuptools 28.8.0
    Uninstalling setuptools-28.8.0:
      Successfully uninstalled setuptools-28.8.0
Successfully installed setuptools-36.6.0

安装PyQt5

C:\Python36>pip install PyQt5
Collecting PyQt5
  Using cached PyQt5-5.9-5.9.1-cp35.cp36.cp37-none-win_amd64.whl
Collecting sip<4.20,>=4.19.3 (from PyQt5)
  Using cached sip-4.19.3-cp36-none-win_amd64.whl
Installing collected packages: sip, PyQt5
Successfully installed PyQt5-5.9 sip-4.19.3

下载Eric6

下载Eric6

安装Eric6

解压 eric6-17.10.zip 到 eric6-17.10 目录
解压 eric6-i18n-zh_CN-17.10.zip 到 eric6-17.10 目录,执行覆盖。
在 eric6-17.10 目录执行python install.py

D:\temp\eric6-17.10>python install.py
Checking dependencies
Python Version: 3.6.3
Found PyQt5
Found pyuic5
Sorry, please install QScintilla2 and
its PyQt5/PyQt4 wrapper.
Error: cannot import name 'Qsci'
Press enter to continue...


安装 QScintilla

D:\temp\eric6-17.10>pip install QScintilla
Collecting QScintilla
  Using cached QScintilla-2.10.1-5.9.1-cp35.cp36.cp37-none-win_amd64.whl
Requirement already satisfied: PyQt5>=5.9.0 in c:\python36\lib\site-packages (fr
om QScintilla)
Requirement already satisfied: sip<4.20,>=4.19.3 in c:\python36\lib\site-package
s (from PyQt5>=5.9.0->QScintilla)
Installing collected packages: QScintilla
Successfully installed QScintilla-2.10.1


重新执行 python install.py 通过。

执行eric 6

eric6.bat

在建立新窗口会提示:

无法启动Qt设计师。
请确保它作为 C:\Python36\lib\site-packages\PyQt5\Qt\bin\designer.exe 可用。

安装Qt 5.9.2

下载Qt5.9.2

运行安装

设置 Eric6

设置 -> 首选项 -> Qt

把 Qt 工具,Tools Directory 指向: C:\Qt\Qt5.9.2\5.9.2\mingw53_32\bin

应用后,可以自动打开 无法启动Qt设计师。

Comment ( 0 )

Sign in for post a comment