0

This question already has an answer here:

I want to make a file which when executed would install all the packages listed inside it like pip install numpy, pip install pandas and others.

How is this done? please guide me to appropriate resources for learning. Thanks

marked as duplicate by pLumo, steeldriver command-line Oct 15 at 13:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

The simplest way is to create a shell script

#!/bin/sh
pip install numpy
pip install pandas

followed by chmod 0755 scriptname. The "proper" way to do it may be to use a meta-package. See this for details.

Not the answer you're looking for? Browse other questions tagged or ask your own question.