Update installation guide for using python3
Change-Id: Ic64853d9a5ec3a5b30af372dc551bad844541aca
This commit is contained in:
parent
eb1c32951b
commit
edbd6cfd99
@ -60,19 +60,13 @@ Install and configure components
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
# apt-get install python-pip git
|
# apt-get install python3-pip git
|
||||||
|
|
||||||
For CentOS, run:
|
For CentOS, run:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
# yum install python-pip git python-devel libffi-devel gcc openssl-devel
|
# yum install python3-pip git python3-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.
|
|
||||||
|
|
||||||
#. Clone and install zun:
|
#. Clone and install zun:
|
||||||
|
|
||||||
@ -82,8 +76,8 @@ Install and configure components
|
|||||||
# git clone https://opendev.org/openstack/zun.git
|
# git clone https://opendev.org/openstack/zun.git
|
||||||
# chown -R zun:zun zun
|
# chown -R zun:zun zun
|
||||||
# cd zun
|
# cd zun
|
||||||
# pip install -r requirements.txt
|
# pip3 install -r requirements.txt
|
||||||
# python setup.py install
|
# python3 setup.py install
|
||||||
|
|
||||||
#. Generate a sample configuration file:
|
#. Generate a sample configuration file:
|
||||||
|
|
||||||
|
@ -171,19 +171,13 @@ Install and configure components
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
# apt-get install python-pip git
|
# apt-get install python3-pip git
|
||||||
|
|
||||||
For CentOS, run:
|
For CentOS, run:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
# yum install python-pip git python-devel libffi-devel gcc openssl-devel
|
# yum install python3-pip git python3-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.
|
|
||||||
|
|
||||||
#. Clone and install zun:
|
#. Clone and install zun:
|
||||||
|
|
||||||
@ -193,8 +187,8 @@ Install and configure components
|
|||||||
# git clone https://opendev.org/openstack/zun.git
|
# git clone https://opendev.org/openstack/zun.git
|
||||||
# chown -R zun:zun zun
|
# chown -R zun:zun zun
|
||||||
# cd zun
|
# cd zun
|
||||||
# pip install -r requirements.txt
|
# pip3 install -r requirements.txt
|
||||||
# python setup.py install
|
# python3 setup.py install
|
||||||
|
|
||||||
#. Generate a sample configuration file:
|
#. Generate a sample configuration file:
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Verify operation of the Container service.
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
# pip install python-zunclient
|
# pip3 install python-zunclient
|
||||||
|
|
||||||
#. Source the ``admin`` tenant credentials:
|
#. Source the ``admin`` tenant credentials:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user