Skip to content
This repository was archived by the owner on Jun 18, 2019. It is now read-only.
This repository was archived by the owner on Jun 18, 2019. It is now read-only.

poise-python is not working on wheezy #145

Description

@theundefined

I try to replace python module with poise-python. Unfortunatly - part of systems still use wheezy.
Sample recipe which produce error:

     16: python_package 'pymongo' do
     17:   action :install
     18: end

and error:

   Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '1'
    ---- Begin output of ["/usr/bin/python", "-m", "pip.__main__", "list"] ----
    STDOUT: 
    STDERR: /usr/bin/python: No module named pip.__main__
    ---- End output of ["/usr/bin/python", "-m", "pip.__main__", "list"] ----
    Ran ["/usr/bin/python", "-m", "pip.__main__", "list"] returned 1

When i try to include poise-python::default to prepare environment, i also receive error:

  ------------------------------------
  python_package[setuptools] (/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb line 136) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  ---- Begin output of ["/usr/bin/python2.7", "-", "setuptools"] ----
  STDOUT: 
  STDERR: Traceback (most recent call last):
    File "<stdin>", line 4, in <module>
  ImportError: No module named commands
  ---- End output of ["/usr/bin/python2.7", "-", "setuptools"] ----
  Ran ["/usr/bin/python2.7", "-", "setuptools"] returned 1

Do you have any idea what do with that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions