3 ms·
Yea, if you use standard docker images o you want to use the python version they come with which is usually 3.8 (Ubuntu 20.04) or 3.6 (Ubuntu 18.04)
by 0x008 4y ago
Yea, if you use standard docker images o you want to use the python version they come with which is usually 3.8 (Ubuntu 20.04) or 3.6 (Ubuntu 18.04)
- arjvik 4y agoWhy not use the library/python image with the specific version over library/Ubuntu?
- 0x008 4y agoI don’t understand your question, but to illustrate the point: We work often with 3rd party libraries and images provided by those third parties. These are often based straight up on Ubuntu. Nvidia CUDA image is an example of this. Then you are stuck with their python version. And it’s not as easy as installing your own python version into the image because python dependencies inside those 3rd party images might be installed using OS package managers and not pip so then they are installed to the wrong python version etc. It’s a rabbit hole. The problem is that at some point Debian/ubuntu decided to repackage python dependencies as apt packages.