4 ms·
Any virtual environment will take precedence over either the system or homebrew Python. Since you want to deal with multiple versions (or Python? Or Django/Flas
by joshvm 6y ago
Any virtual environment will take precedence over either the system or homebrew Python. Since you want to deal with multiple versions (or Python? Or Django/Flask? Both?) you'll definitely be wanting some kind of isolated environment. It's nice to have Homebrew as a base since it'll be more recent than the system install, but it doesn't make a difference.
Miniconda/conda is pretty good. It's a lot more stable than it used to be. I use a plain old venv to run Django on a production server.
Poetry is good for packaging, I've not tried it as a virtual environment manager. It seems more fiddly to me than just running `conda create -n blah python=3.8; conda activate blah`. Sometimes I just want a system-wide "good" environment and Poetry's more suited to single folder/project configurations that you might eventually want to release as a standalone package (I may be wrong here). For easy publishing to PyPI though, Poetry is great.