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

poise-python is not working on wheezy #145

Open
theundefined opened this issue May 6, 2019 · 0 comments
Open

poise-python is not working on wheezy #145

theundefined opened this issue May 6, 2019 · 0 comments

Comments

@theundefined
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant