If I had a greenback each time I confronted a lacking Python dependency or a model mismatch, nicely, I wouldn’t be a millionaire, however you get the purpose.
Dependency administration is a typical drawback in information science with many potential options. A digital atmosphere is at all times beneficial, however that’s solely the start. It’s normally adopted by protecting observe of put in packages. However what about their dependencies? And dependencies of their dependencies? It’s a recursive nightmare.
Poetry is likely to be the answer you’re in search of. It goals to be a one-stop-shop for every thing dependency administration associated, and may even be used for publishing Python packages.
In the present day, you’ll construct a easy machine studying software domestically after which push it to a distant compute occasion. If Poetry retains as much as its promise, the distant setup needs to be so simple as working a single shell command.
A small inconvenience with Poetry is that you would be able to’t begin with a pip set up
command. It wants a further command line device.