CentOS 6 Python Installation Error

Open
#327 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
centos, python
Domain
devops

Research direction

Start with the python class configuration and the /usr/bin/yum ... list 34 error shown in the report. Check whether the requested version and IUS RPM packages are supported on CentOS 6; the issue is done when a supported configuration installs Python, pip, and virtualenv without the dependency failures shown.

Written by the indexing model from the issue text.

Description

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
Dominant language
Ruby
Stars
196
Forks
372
Avg merge
1d 18m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voxpupuli/puppet-python

All issues in voxpupuli/puppet-python

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.