2 ms·
it's weirly naive to assume I don't know about pip as a python user as it's a bit ubiquitous. That said: This is very much a developers take on the packaging s
by dijit 5y ago
it's weirly naive to assume I don't know about pip as a python user as it's a bit ubiquitous.
That said: This is very much a developers take on the packaging situation in python.
Running virtualenvs is "fine" until you're not connected to the internet, a less-and-less common scenario thankfully.
pip itself (without virtualenvs) will "dirty" the system, or you use the --user flag and make it work only for one user.
The situation for systems administrators is to do things that do not mess with the developers, if I install a package, especially with a version lock, and it directly conflicts with a developers (less and less of a problem with containers!) then they're going to be very cross with me.
- keymasta 5y agoThis may be a silly question, but how would you think to install packages if not with pip? I used to see python the same way, and coding on my megalithic single file would always take a couple hours to set up on a fresh computer. Then I discovered requirements.txt, where you simply list each package you need and the version (range) desired and then run: pip install -r requirements.txt this will install everything unless it's fucky like for example, pip install kivy-garden.matplotlib will not work with pip but everything else does.
- Annatar 5y ago"This may be a silly question, but how would you think to install packages if not with pip?" Through the native software management subsystem: RPM, SVR4 packaging, pkgsrc, MSI... always use the native software management subsystem - that is what it is there for, for developers to deliver their software with.
- Annatar 5y ago"Running virtualenvs is "fine" until you're not connected to the internet, a less-and-less common scenario thankfully." Any high security environment (read: the financial industry) will have most of the servers purposely not connected to the InterNet, to prevent people from doing exactly the above and from attackers hacking in. Energy and pharmaceutical industries - same thing. That's the norm, not the exception, so pretty much any industry which is critical for society at large won't allow access to the InterNet.