Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install many python extensions in one step

Tags:

python

Is it possible to collect many Python extensions an install them in one step? I have a Python build environment for an open source project that often needs to be recreated on multiple machine. It's a pain to double click through a bunch of python extension exes every time we need to do this.

Ideally I'd like to package a complete build environment, Python, extensions, system environment variables, and all, into a one step install process. But a single step extension install would also be helpful. Is this possible?

like image 640
Rich Avatar asked May 22 '26 13:05

Rich


1 Answers

Yes, you can do that... do you have pip(python indexed package) installed in your system? if not, then install it... and put all the extensions into a single text file... say requirements.txt...

This is done by running

pip freeze > requirements.txt

then by using pip you can install it... by using this command...

pip install -r requirements.txt...

it will install all the extensions mentioned in the file...

you can find the pip package here pip might help you...


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!