Skip to content

Commit 291eb50

Browse files
committed
更新说明
1 parent bdd31f0 commit 291eb50

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed
-102 KB
Binary file not shown.
-198 KB
Binary file not shown.

README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,36 @@
22

33
PyQt Examples Client For https://github.com/PyQt5/PyQt
44

5-
It requires both Python35-32 and PyQt 5.10 and QtWebKit.
5+
It requires both Python35+ and PyQt5 and QtWebKit.
66

7-
需要Python35 32位 PyQt5.10 QtWebKit
7+
需要 Python35+ PyQt5 QtWebKit
88

99
## Installing (安装)
1010

11-
1.install requirements 安装依赖
11+
install requirements
12+
1213
```
1314
pip install requests
1415
pip install pygit2==0.27.2
15-
pip install PyQt5==5.10.1
16-
pip install PyQtWebKit==5.10.1
17-
pip install PyQt3D==5.10.1
18-
pip install PyQtChart==5.10.1
19-
pip install PyQtDataVisualization==5.10.1
20-
pip install PyQtPurchasing==5.10.1
16+
pip install PyQt5 -U
17+
pip install PyQt3D -U
18+
pip install PyQtChart -U
19+
pip install PyQtDataVisualization -U
20+
pip install PyQtPurchasing -U
2121
```
2222

23-
if pip install PyQtWebKit==5.10.1 failed then do 2 and 3
24-
25-
如果 pip 安装PyQtWebKit失败, 可能是PyQt或者Python版本不对, 那么就需要自己编译了, 按照下面2和3
26-
27-
2.install QtWebKit [option] 安装QtWebKit [可选]
23+
### For Windows
2824

29-
download [QtWebKit](https://github.com/annulen/webkit/releases/) and extract to PYTHONPATH/Lib/site-packages/PyQt5/Qt
25+
```
26+
pip install PyQtWebKit -U
27+
```
3028

31-
下载 [QtWebKit](https://github.com/annulen/webkit/releases/) 并解压到 PYTHONPATH/Lib/site-packages/PyQt5/Qt
29+
### For Linux
3230

33-
3.install QtWebKit pyd 复制编译好的QtWebKit
31+
1. Install Python35+
32+
2. Install Qt5.13.1 to ~/Qt5.13.1
33+
3. clone https://github.com/PyQt5/PyQtWebKit and run `./build.sh`
3434

35-
copy .Data/site-packages to PYTHONPATH/Lib/site-packages
3635

3736
## Notice
3837

0 commit comments

Comments
 (0)