puppet-python
puppet-python copied to clipboard
CentOS 6 Python Installation Error
Hi,
I am trying to install Python But it can never find the version. I have tried version = 3/34/34u/3.4.5, is there any way to use https://github.com/iuscommunity-pkg rpm ? They seem to maintain all required packages with the latest version
OS Version - CentOS release 6.8 (Final)
Config -
class { 'python' :
version => '34',
pip => 'present',
dev => 'absent',
virtualenv => 'present',
}
Error Log :
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list 34' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Python::Install/Package[python]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list 34' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Python::Install/Package[pip]: Dependency Package[python] has failures: true
Warning: /Stage[main]/Python::Install/Package[pip]: Skipping because of failed dependencies
Notice: /Stage[main]/Python::Install/Package[virtualenv]: Dependency Package[python] has failures: true
Warning: /Stage[main]/Python::Install/Package[virtualenv]: Skipping because of failed dependencies
Notice: /Stage[main]/Python/Anchor[python::end]: Dependency Package[python] has failures: true
Warning: /Stage[main]/Python/Anchor[python::end]: Skipping because of failed dependencies
Notice: Finished catalog run in 9.19 seconds
The documentation is unfortunately out of date. To get the ius packages, specify the full package name as the version. for example, to install 3.4 from ius, use version => 'python34u'. Of course, make sure you have the ius repo installed.
@gotyaoi
Yup it worked after installing IUS repository.
I guess puppet-python currently finds by default only from EPEL repository, may be we can IUS support to it ?