Skip to content

Commit d38179e

Browse files
author
欧林宝
authored
Update README.md
1 parent f7267c5 commit d38179e

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
京东云CLI提供使用命令行的方式访问您的云中资源。
33

44
## 安装须知
5-
京东云CLI基于Python语言和京东云Python SDK开发,使用CLI前请安装Python 2.7版本和pip包管理工具。请访问官网下载并安装Python2.7和pip
5+
京东云CLI基于Python语言和京东云Python SDK开发,使用CLI前请安装Python 2.7/3.x版本和pip包管理工具。请访问官网下载并安装Python和pip
66

77
### Python2.7安装
88
#### 官网下载安装:
@@ -15,6 +15,17 @@
1515
- macOS
1616
`brew install python@2`
1717

18+
### Python3.x安装
19+
#### 官网下载安装:
20+
https://www.python.org/downloads
21+
#### 操作系统包管理工具安装
22+
- CentOS
23+
`yum install python36u`
24+
- Ubuntu
25+
`apt-get install python3.5`
26+
- macOS
27+
`brew install python@3`
28+
1829
### pip安装
1930
- 官网安装请参考:https://pip.pypa.io/
2031

@@ -43,6 +54,7 @@
4354
|2018.11.21|0.7.2|1.2.18|
4455
|2018.12.28|0.8.2|1.3.0|
4556
|2019.01.02|0.9.0|1.3.0|
57+
|2019.01.21|1.0.0|1.4.0|
4658

4759
## CLI安装方法:
4860
### Linux & Mac
@@ -51,6 +63,7 @@ pip安装:
5163

5264
源码安装(不依赖pip):
5365
`python setup.py install`
66+
`python3 setup.py install`
5467

5568
安装后执行以下脚本,打开自动完成功能:
5669
```
@@ -59,7 +72,6 @@ echo 'export COLUMNS=100' >> .bashrc
5972
source ~/.bashrc
6073
```
6174

62-
6375
### Windows
6476
京东云CLI在Windows上运行依赖Git 2.9.0以上版本,建议使用最新版本。
6577

0 commit comments

Comments
 (0)