News for hackers. Stuff that matters.
Re:Use `Python -m Pip` by behnamoh on Tuesday July 19, 2022 @09:09PM (#32160054)
I should also say: Unfortunately, Conda’s environment exports only work for similar OS’s. I don’t know why Python’s situation is like this, after so many years.

Does docker fix all the above issues?

Re:Use `Python -m Pip` by bloblaw on Wednesday July 20, 2022 @11:00AM (#32166695)
Docker simultaneously solves and creates problems here.

Step 1: Docker must be installed on all targets. This is not a given and is a new piece of overhead.

Step 2: The Dockerfile hopefully doesn't source from just "ubuntu:latest" and bring in the whole kitchen sink for this SINGLE APPLICATION.

Effectively if you are using Docker and deploying your script to Windows or macOS, you are saying "Hey, this script requires you to install linux in a VM to run this. Docker makes it easy. Go download 500mb of Docker and a couple hundred more mb of images to run this 800k script.

Re:Use `Python -m Pip` by bornfreddy on Wednesday July 20, 2022 @01:41AM (#32161876)
Yes, docker solves all these issues (because your app carries all of its environment in the image), however it is a bit cumbersome if you want to distribute your app to many unknown users. They can't just download something and run it, as Windows users are used to doing.