[root@localhost ~]# yum install epel-release python-pip
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.hbcse.tifr.res.in
* extras: centos.hbcse.tifr.res.in
* updates: centos.hbcse.tifr.res.in
No package python-pip available.
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
epel-release noarch 7-11 extras 15 k
Transaction Summary
=======================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
[root@localhost ~]# yum install python-pip
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 4.4 kB 00:00:00
* base: centos.hbcse.tifr.res.in
* epel: repos.del.extreme-ix.org
* extras: centos.hbcse.tifr.res.in
* updates: centos.hbcse.tifr.res.in
epel | 5.4 kB 00:00:00
(1/3): epel/x86_64/group_gz | 88 kB 00:00:00
(2/3): epel/x86_64/updateinfo | 1.0 MB 00:00:01
(3/3): epel/x86_64/primary_db | 6.8 MB 00:00:41
Resolving Dependencies
--> Running transaction check
---> Package python2-pip.noarch 0:8.1.2-10.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
python2-pip noarch 8.1.2-10.el7 epel 1.7 M
Transaction Summary
=======================================================================================
Install 1 Package
Total download size: 1.7 M
Installed size: 7.2 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/python2-pip-8.1.2-10.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for python2-pip-8.1.2-10.el7.noarch.rpm is not installed
python2-pip-8.1.2-10.el7.noarch.rpm | 1.7 MB 00:00:02
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python2-pip-8.1.2-10.el7.noarch 1/1
Verifying : python2-pip-8.1.2-10.el7.noarch 1/1
Installed:
python2-pip.noarch 0:8.1.2-10.el7
Complete!
[root@localhost ~]# pip install pyvomi
Collecting pyvomi
Could not find a version that satisfies the requirement pyvomi (from versions: )
No matching distribution found for pyvomi
You are using pip version 8.1.2, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[root@localhost ~]# pip upgrade pip
ERROR: unknown command "upgrade"
[root@localhost ~]# pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/8d/07/f7d7ced2f97ca3098c16565efbe6b15fafcba53e8d9bdb431e09140514b0/pip-19.2.2-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 524kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.2
Uninstalling pip-8.1.2:
Successfully uninstalled pip-8.1.2
Successfully installed pip-19.2.2
[root@localhost ~]# pip install pyvomi
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pyvomi
ERROR: Could not find a version that satisfies the requirement pyvomi (from versions: none)
ERROR: No matching distribution found for pyvomi
[root@localhost ~]# ansible-playbook c.yml
PLAY [Create a VM from a template] ****************************************************
TASK [Clone the template] *************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "pyvmomi module required"}
to retry, use: --limit @/root/c.retry
PLAY RECAP ****************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1
[root@localhost ~]# pip install --upgrade pyvmomi
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pyvmomi
Downloading https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip (632kB)
|████████████████████████████████| 634kB 1.4MB/s
Requirement already satisfied, skipping upgrade: requests>=2.3.0 in /usr/lib/python2.7/site-packages (from pyvmomi) (2.6.0)
Requirement already satisfied, skipping upgrade: six>=1.7.3 in /usr/lib/python2.7/site-packages (from pyvmomi) (1.9.0)
Installing collected packages: pyvmomi
Running setup.py install for pyvmomi ... done
Successfully installed pyvmomi-6.7.1.2018.12root@localhost ~]# pip install pysphere
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pysphere
Downloading https://files.pythonhosted.org/packages/a3/53/582ad19aae059b777f1105e6c7f6fa96f2ab6e7f018d94497fbe1518548d/pysphere-0.1.7.zip (516kB)
|████████████████████████████████| 522kB 1.1MB/s
Installing collected packages: pysphere
Running setup.py install for pysphere ... done
Successfully installed pysphere-0.1.7
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.hbcse.tifr.res.in
* extras: centos.hbcse.tifr.res.in
* updates: centos.hbcse.tifr.res.in
No package python-pip available.
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
epel-release noarch 7-11 extras 15 k
Transaction Summary
=======================================================================================
Install 1 Package
Total download size: 15 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm | 15 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
[root@localhost ~]# yum install python-pip
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 4.4 kB 00:00:00
* base: centos.hbcse.tifr.res.in
* epel: repos.del.extreme-ix.org
* extras: centos.hbcse.tifr.res.in
* updates: centos.hbcse.tifr.res.in
epel | 5.4 kB 00:00:00
(1/3): epel/x86_64/group_gz | 88 kB 00:00:00
(2/3): epel/x86_64/updateinfo | 1.0 MB 00:00:01
(3/3): epel/x86_64/primary_db | 6.8 MB 00:00:41
Resolving Dependencies
--> Running transaction check
---> Package python2-pip.noarch 0:8.1.2-10.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
python2-pip noarch 8.1.2-10.el7 epel 1.7 M
Transaction Summary
=======================================================================================
Install 1 Package
Total download size: 1.7 M
Installed size: 7.2 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/python2-pip-8.1.2-10.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for python2-pip-8.1.2-10.el7.noarch.rpm is not installed
python2-pip-8.1.2-10.el7.noarch.rpm | 1.7 MB 00:00:02
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python2-pip-8.1.2-10.el7.noarch 1/1
Verifying : python2-pip-8.1.2-10.el7.noarch 1/1
Installed:
python2-pip.noarch 0:8.1.2-10.el7
Complete!
[root@localhost ~]# pip install pyvomi
Collecting pyvomi
Could not find a version that satisfies the requirement pyvomi (from versions: )
No matching distribution found for pyvomi
You are using pip version 8.1.2, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[root@localhost ~]# pip upgrade pip
ERROR: unknown command "upgrade"
[root@localhost ~]# pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/8d/07/f7d7ced2f97ca3098c16565efbe6b15fafcba53e8d9bdb431e09140514b0/pip-19.2.2-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 524kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.2
Uninstalling pip-8.1.2:
Successfully uninstalled pip-8.1.2
Successfully installed pip-19.2.2
[root@localhost ~]# pip install pyvomi
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pyvomi
ERROR: Could not find a version that satisfies the requirement pyvomi (from versions: none)
ERROR: No matching distribution found for pyvomi
[root@localhost ~]# ansible-playbook c.yml
PLAY [Create a VM from a template] ****************************************************
TASK [Clone the template] *************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "pyvmomi module required"}
to retry, use: --limit @/root/c.retry
PLAY RECAP ****************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1
[root@localhost ~]# pip install --upgrade pyvmomi
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pyvmomi
Downloading https://files.pythonhosted.org/packages/71/24/0bb1257b3bc89f7b2facdbad91cc56902d116d649a263c242ef32f73110e/pyvmomi-6.7.1.2018.12.zip (632kB)
|████████████████████████████████| 634kB 1.4MB/s
Requirement already satisfied, skipping upgrade: requests>=2.3.0 in /usr/lib/python2.7/site-packages (from pyvmomi) (2.6.0)
Requirement already satisfied, skipping upgrade: six>=1.7.3 in /usr/lib/python2.7/site-packages (from pyvmomi) (1.9.0)
Installing collected packages: pyvmomi
Running setup.py install for pyvmomi ... done
Successfully installed pyvmomi-6.7.1.2018.12root@localhost ~]# pip install pysphere
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pysphere
Downloading https://files.pythonhosted.org/packages/a3/53/582ad19aae059b777f1105e6c7f6fa96f2ab6e7f018d94497fbe1518548d/pysphere-0.1.7.zip (516kB)
|████████████████████████████████| 522kB 1.1MB/s
Installing collected packages: pysphere
Running setup.py install for pysphere ... done
Successfully installed pysphere-0.1.7
Comments
Post a Comment