3 ms·
I highly recommend Pyenv, it's the best way to manage Python versions. My workflow on a Mac is to use Brew to install Pyenv and then Pyenv to install Python ve
by samwillis 5y ago
I highly recommend Pyenv, it's the best way to manage Python versions.
My workflow on a Mac is to use Brew to install Pyenv and then Pyenv to install Python versions. Similarly I use Brew to install NVM and then NVM to install and manage Node versions.
For python virtual environments I go with vanilla `python -m venv env`, it works well and I like that the `env` directory is under the project I'm working on.
- rubyist5eva 5y ago> My workflow on a Mac is to use Brew to install Pyenv and then Pyenv to install Python versions. Similarly I use Brew to install NVM and then NVM to install and manage Node versions. Might I suggest asdf (asdf-vm.com). I use it for managing ruby, node, go and python versions and it has been rock-solid. You can also install it from homebrew.
- volker48 5y agoI switched from installing Python with Homebrew to using asdf and I've been very pleased with the results. With Homebrew, every significant macOS update would break all my virtual environments. With asdf this is no longer an issue. The ability to set local versions of Python for different projects is very nice as well.