3 ms·
> feel free to have different versions of python installed side-by-side with some "main" version preferably symlinked as `python` and `python3` This is what py
by rovr138 3y ago
> feel free to have different versions of python installed side-by-side with some "main" version preferably symlinked as `python` and `python3`
This is what pyenv does.
- airstrike 3y agoby compiling from source? god no. also it's terribly named because it conflates the idea of python environments with python versions just install pre-compiled python from official sources side-by-side. no pyenv needed
- rovr138 3y agoBut that’s the point of the tool. Let it manage that for you.
- airstrike 3y agoright, but now you know even less about your setup when you some roadblock. and compiling python from source is very slow and error prone because it requires a bunch of flags and other libraries to be available. I have no problem compiling stuff from source generally, but python specifically is a major PITA and I already have homebrew to install python (and anything else), which I trust to have more users and better formulas. other OSes have their own tools
- rovr138 3y ago> right, but now you know even less about your setup when you some roadblock This is the same with a binary though. And with homebrew, you can't follow patches or flags used or if they change. - https://github.com/Homebrew/homebrew-core/blob/c964ad7fa53ade9b665c91a601bdb4b9cd19d8d2/Formula/p/python%403.12.rb#L139-L151 https://github.com/Homebrew/homebrew-core/blob/c964ad7fa53ad... - https://github.com/Homebrew/homebrew-core/blob/c964ad7fa53ade9b665c91a601bdb4b9cd19d8d2/Formula/p/python%403.12.rb#L91-L97 https://github.com/Homebrew/homebrew-core/blob/c964ad7fa53ad... - https://github.com/Homebrew/homebrew-core/blob/c964ad7fa53ade9b665c91a601bdb4b9cd19d8d2/Formula/p/python%403.12.rb#L305-L308 https://github.com/Homebrew/homebrew-core/blob/c964ad7fa53ad... Not arguing for good or bad, just saying that the problem isn't limited to this.