Update installation guide for using python3

Change-Id: Ic64853d9a5ec3a5b30af372dc551bad844541aca
This commit is contained in:
Hongbin Lu 2020-02-17 04:42:48 +00:00
parent eb1c32951b
commit edbd6cfd99
3 changed files with 9 additions and 21 deletions

View File

@ -60,19 +60,13 @@ Install and configure components
.. code-block:: console
# apt-get install python-pip git
# apt-get install python3-pip git
For CentOS, run:
.. code-block:: console
# yum install python-pip git python-devel libffi-devel gcc openssl-devel
.. note::
``python-pip`` package is not in CentOS base repositories,
may need to install EPEL repository in order to have
``python-pip`` available.
# yum install python3-pip git python3-devel libffi-devel gcc openssl-devel
#. Clone and install zun:
@ -82,8 +76,8 @@ Install and configure components
# git clone https://opendev.org/openstack/zun.git
# chown -R zun:zun zun
# cd zun
# pip install -r requirements.txt
# python setup.py install
# pip3 install -r requirements.txt
# python3 setup.py install
#. Generate a sample configuration file:

View File

@ -171,19 +171,13 @@ Install and configure components
.. code-block:: console
# apt-get install python-pip git
# apt-get install python3-pip git
For CentOS, run:
.. code-block:: console
# yum install python-pip git python-devel libffi-devel gcc openssl-devel
.. note::
``python-pip`` package is not in CentOS base repositories,
may need to install EPEL repository in order to have
``python-pip`` available.
# yum install python3-pip git python3-devel libffi-devel gcc openssl-devel
#. Clone and install zun:
@ -193,8 +187,8 @@ Install and configure components
# git clone https://opendev.org/openstack/zun.git
# chown -R zun:zun zun
# cd zun
# pip install -r requirements.txt
# python setup.py install
# pip3 install -r requirements.txt
# python3 setup.py install
#. Generate a sample configuration file:

View File

@ -13,7 +13,7 @@ Verify operation of the Container service.
.. code-block:: console
# pip install python-zunclient
# pip3 install python-zunclient
#. Source the ``admin`` tenant credentials: