File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# 京东云CLI
22京东云CLI提供使用命令行的方式访问您的云中资源。
33
4+ ## 安装须知
5+ 京东云CLI基于Python语言和京东云Python SDK开发,使用CLI前请安装Python 2.7版本和pip包管理工具。请访问官网下载并安装Python2.7和pip。
6+
7+ ### Python2.7和pip安装
8+ 通过官网安装:
9+ - Python:https://www.python.org/downloads
10+ - pip:https://pip.pypa.io/
11+
12+ 使用各发行版包管理工具安装pip,请参考:
13+
14+ https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers
15+
16+ ### 京东云Python SDK依赖说明
17+ 京东云Python SDK不用手动安装,Python包管理工具会自动下载并安装对应版本的依赖包。如果您已经安装了京东云Python SDK,并且因为CLI版本与之不对应而不能正常工作,请参考下面的版本对应表,安装对应版本SDK或删除旧的Python SDK并重新安装CLI。
18+
19+ | 发布日期| 京东云CLI| 京东云Python SDK|
20+ | ---| ---| ---|
21+ | 2018.06.04| 0.1.0| 1.1.1|
22+
23+
424## 安装方法:
525### Linux && Mac
626pip安装:
929源码安装:
1030` python setup.py install `
1131
12- 安装后执行 :
32+ 安装后执行以下脚本,打开自动完成功能 :
1333```
1434echo 'eval "$(register-python-argcomplete jdc)"' >> .bashrc
1535echo 'export COLUMNS=100' >> .bashrc
@@ -18,3 +38,4 @@ source ~/.bashrc
1838
1939
2040### Windows
41+ 开发验证中。
You can’t perform that action at this time.
0 commit comments