Answer the question
In order to leave comments, you need to log in
How to solve the problem with the lack of modules on the server?
People, hello.
I wanted to ask how someone solves the problem of lack of modules on the server. The default on RH is the 2.7 version of python with the standard set of modules.
Admins are busy, installing modules is a long process. What is the best practitioner in this matter?
Modules are needed for automation scripts and run manually or by cron.
Answer the question
In order to leave comments, you need to log in
virtualenv + pip
create an isolated virtual environment
and install whatever you want
That's right - create a virtual environment and put everything you need into it so that there are no intersections with the system. Well, 2.7 is already legacy.
installing modules is a long process.what?
officially - pip install module_name, under the user they will be added to his home folder, under root - a
number of more modules are supplied regularly in OS turnips, look for packages in the name containing the module you need and py - prefix or suffix
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question