File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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#### 官网下载安装:
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
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
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
5972source ~/.bashrc
6073```
6174
62-
6375### Windows
6476京东云CLI在Windows上运行依赖Git 2.9.0以上版本,建议使用最新版本。
6577
You can’t perform that action at this time.
0 commit comments