python openstack_OpenStack

To install the clients on a Linux, Mac OS X, or Microsoft Windows

system, use pip. It is easy to use, ensures that you get the latest

version of the clients from the Python Package Index, and lets you update or remove

the packages later on.

由于安装过程需要编译源文件,所以需要安装与你操作系统对应的 Python 开发包 。

Option 1: Install pip using get-pip.py

To install pip, securely download get-pip.py.

Then run the following:

# python get-pip.py

For more details visit install pip.

Option 2: Install pip through the package manager for your system

Ubuntu 或者 Debian

# apt install python-dev python-pip

注意到每一个操作系统可能需要额外的依赖,这取决于你正在安装的包,例如 Tempest 的情况。

Red Hat Enterprise Linux or CentOS

一个打包的版本可以使你能够使用 yum 来安装包:

# yum install python-devel python-pip

On Red Hat Enterprise Linux, this command assumes that you have enabled

the OpenStack repository. For more information, see the

Installation Tutorial for Red Hat Enterprise Linux and CentOS.

There are also packaged versions of the clients available that enable

yum to install the clients as described in

Installing_from_packages.

Fedora

A packaged version enables you to use dnf to install the

package:

# dnf install python-devel python-pip

SUSE Linux 企业版服务器

A packaged version available in the Open Build Service

enables you to use YaST or zypper to install the package.

First, add the Open Build Service repository as described in the

Installation Tutorial.

然后安装 pip 并使用它管理客户端的安装:

# zypper install python-devel python-pip

还有其他可用的客户端打包版本,这些版本能够使 zypper 像 Installing_from_packages 章节描述的那样安装客户端。

openSUSE

你可以安装 pip 并通过它管理客户端的安装:

# zypper install python-devel python-pip

还有其他可用的客户端打包版本,这些版本能够使 zypper 像 Installing_from_packages 章节描述的那样安装客户端。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值