3 ms·
>But Python has a decent and a reproducible way of installing packages. Reading the comment thread it's not immediately clear what the answer is - it seems imp
by oarabbus_ 4y ago
>But Python has a decent and a reproducible way of installing packages.
Reading the comment thread it's not immediately clear what the answer is - it seems implied that the proper way is using Poetry, is that the case?
- Ygg2 4y agoIt's not. See https://imgs.xkcd.com/comics/python_environment_2x.png https://imgs.xkcd.com/comics/python_environment_2x.png Or sometime the computer is haunted and my colleague had problems installing tensorflow. To this day he has no working tensorflow.
- takeda 4y agoI suppose we can follow memes or facts. Please note I never used tensorflow on that computer in fact I never used tensorflow, but this is my experience: https://gist.github.com/takeda/89ec29501b6e8641415668f22f3e99b7 https://gist.github.com/takeda/89ec29501b6e8641415668f22f3e9... It succeeded after first try. I do see that in their repo[1] they use a non standard way to build the package. They use Bazel, but that's Google for you. They never do things everyone else is doing. I'm not sure why this is Python problem rather than package problem. They have tons of open issues around building: [2] [1] https://github.com/tensorflow/tensorflow https://github.com/tensorflow/tensorflow [2] https://github.com/tensorflow/tensorflow/labels/type%3Abuild%2Finstall https://github.com/tensorflow/tensorflow/labels/type%3Abuild...
- Ygg2 4y agoThat's the thing. It's not a meme. It's a joke, that rings true. It works fine for me. Not for him. Same package, nearly identical laptops, different outcomes. And I as newcomer to Python, there are like four (pip, venv, brew, conda) cli APIs that I had to learn just to get working on some Python file.
- stavros 4y agoTo me, yes. Poetry for me has been fairly straightforward, in anything I needed to do (dependency management, package publishing, etc).
- blooalien 4y agoPoetry has been the one I've settled on as well. It "Just Works™" for everything I've used it for thus far, and it's even been easy to convert older methods I've tried to the Poetry way of doing things.