Re:Escaping from Anaconda's Stranglehold on macOS
by ok123456 on Sunday September 01, 2024 @03:19PM
(#41419526)
I had to do this, using Anaconda as a pyenv replacement, because I worked with people with many levels of IT bureaucracy. They couldn't just go to python.org, download an official release, and use it within their user profile. They were only allowed to use Anaconda because it was on a list of approved software.
[ Parent
| on HN ]
Re:Escaping from Anaconda's Stranglehold on macOS
by brewmarche on Sunday September 01, 2024 @04:01PM
(#41419871)
Same here. It’s not that bad of a solution when you think about it.
Re:Escaping from Anaconda's Stranglehold on macOS
by rubslopes on Sunday September 01, 2024 @04:35PM
(#41420146)
Anaconda (and miniconda) is a very good solution if you need a container-like environment. I can easily go back to old projects with different python versions and do maintenance in them with no hassle.
Re:Escaping from Anaconda's Stranglehold on macOS
by ok123456 on Sunday September 01, 2024 @04:39PM
(#41420196)
pyproject.toml is a better solution
Re:Escaping from Anaconda's Stranglehold on macOS
by okanat on Sunday September 01, 2024 @05:14PM
(#41420445)
Does it handle binary dependencies and Python ABI changes well? Does it isolate them from almost the entire operating system? Conda does those.
Conda packages compiled such that the search paths of the binaries are not using the OS's (which why the Linux DE Qt theme doesn't work for Spyder).
Conda also comes with well optimized binaries for high performance compute which is absolutely a must for modern data science.
Re:Escaping from Anaconda's Stranglehold on macOS
by ok123456 on Sunday September 01, 2024 @09:08PM
(#41421673)
Use docker/podman if you are worried about ABI changes and isolating them from the entire operating system.
Most people's problems getting their Python toolchains to work optimally are caused by using operating systems that don't come with build utils. That's a cultural problem solved by using an operating system with a culture of distributing those tools.
Re:Escaping from Anaconda's Stranglehold on macOS
by exe34 on Monday September 02, 2024 @05:04AM
(#41423802)
Or use conda.
Re:Escaping from Anaconda's Stranglehold on macOS
by ok123456 on Monday September 02, 2024 @01:09PM
(#41427084)
Or use debian
Re:Escaping from Anaconda's Stranglehold on macOS
by exe34 on Monday September 02, 2024 @01:48PM
(#41427397)
yes, because installing random python libraries to system python on Debian never broke any system.
Re:Escaping from Anaconda's Stranglehold on macOS
by ok123456 on Monday September 02, 2024 @02:39PM
(#41427791)
Use poetry/Debian. Standard Python tooling is acceptable in 2024; using some busted 3-plus-year-old "supported" environment with a package manager with a really busted constraint solver, which doesn't even come bundled with compilers, is unnecessary.