Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

Commit 5f58d11

Browse files
committed
update readme
1 parent e7655c0 commit 5f58d11

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

README.rst

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,34 +34,32 @@ wxpy: 用 Python 玩微信
3434
轻松安装
3535
----------------
3636

37-
**wxpy 需要使用 Python 3.x**
37+
**Python 3.x** 版本,安装方法:
3838

39-
可以通过以下方式安装
39+
1. 从 PYPI 官方源下载安装 (在国内使用可能比较慢或不稳定):
4040

41-
1. 从 PYPI 官方源下载安装 (在国内使用可能比较慢或不稳定):
41+
.. code:: shell
4242
43-
.. code:: shell
43+
pip3 install -U wxpy
4444
45-
pip3 install -U wxpy
45+
2. 从豆瓣 PYPI 镜像源下载安装 (**建议国内用户使用**):
4646

47-
2. 从豆瓣 PYPI 镜像源下载安装 (**建议国内用户使用**):
47+
.. code:: shell
4848
49-
.. code:: shell
49+
pip3 install -U wxpy -i "https://pypi.doubanio.com/simple/"
5050
51-
pip3 install -i https://pypi.doubanio.com/simple/ -U wxpy
51+
Python 2.x 版本处于 **测试阶段** (感谢 `@RaPoSpectre`_ 的贡献)
5252

53-
..
54-
针对 **阿里云主机** 用户的特别说明
53+
安装方法 (可与 Python 3 版本共存)
5554

56-
阿里云主机默认使用自家的 PYPI 镜像,但截止目前 (2017-3-26) 已滞后长达 33 天!已有不少用户因此安装了滞后的版本,导致与项目文档产生偏差而无法使用。
55+
.. code:: shell
5756
58-
因此,强烈建议阿里云主机用户采用豆瓣 PYPI 镜像进行安装 (或替换为 PYPI 官方源):
57+
pip2 install -U "git+https://github.com/bluedazzle/wxpy.git@py2"
5958
60-
.. code:: shell
59+
欢迎测试,请在 `这里提交问题`_
6160

62-
pip3 install -i https://pypi.doubanio.com/simple/ -U wxpy
63-
64-
*以上说明会在阿里云 PYPI 镜像同步问题修复后移除。*
61+
.. _@RaPoSpectre: https://github.com/bluedazzle
62+
.. _这里提交问题: https://github.com/bluedazzle/wxpy/issues
6563

6664

6765
简单上手

0 commit comments

Comments
 (0)