0

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

2

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.