0

Technically this is a duplicate of How can I install Python modules programmatically / through a Python script?, but the answer to that question is a little too specific and outdated anyway.

I'd like my Python program to be able to download and install its dependencies with pip without user input (further than a "do you want to install this" anyhow). What's the recommended way to go about this?

4
  • Doesn't the second answer to that question work for you? Commented May 15, 2015 at 3:29
  • @0xc0de Didn't see that one. Still, it's not very nice code and I'd like a more... uhh, maybe canonical solution. Commented May 15, 2015 at 4:03
  • I personally doubt that the requirement 'without user input' will have or be encouraged to have a 'canonical' solution. I personally don't like scripts installing things (even if they are modules), and would really like the confirmation prompts. Commented May 15, 2015 at 6:37
  • @0xc0de I did say there'd be confirmation messages. Commented May 15, 2015 at 17:06

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.