Skip to content Skip to sidebar Skip to footer

Installing Multiple Python Packages By Single Python File

How to make a python file, which installs the mentioned python packages, on running that python file in console instead of installing packages one by one as we do by using pip I am

Solution 1:

You can make one text file which has your name of package requirements. Like this is requirement.txt

requests==2.7.0selenium==3.4.3Flask==0.10.1retrying==1.3.3

then you can run it like

pip install -r requirement.txt

Note: Place this txt file to at where the pip is.

And for how this differs from the setup.py you can refer this

Post a Comment for "Installing Multiple Python Packages By Single Python File"