Sample Header Ad - 728x90

Install Python packages with Chef

0 votes
0 answers
46 views
What is the best practice for installing Python pip packages with Chef? I thought about the poise-python , but I've read that it stops maintenance . And a direct install at recipe like:
-python
execute 'python modules' do 
    command 'pip install toposort==1.5.0'         
    ignore_failure true            
end
It makes something cause which not install and drop the recipe, that is the reason of adding the ignore_failure true.
Asked by Aviel Amitay (1 rep)
Dec 19, 2024, 07:32 AM
Last activity: Dec 19, 2024, 11:03 AM