Stream: python

Topic: managing Python versions on Mac


view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 14 2024 at 01:25):

Homebrew? Conda? pyenv? What do you recommend? I'm on Python 3.9.6 from /usr/bin/python3 (system Python) and I'm in need of a newer version.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 14 2024 at 01:32):

I installed pyenv from Homebrew and am trying it.

view this post on Zulip Jan Range (Mar 14 2024 at 07:17):

I am a conda user and can totally recommend. Pretty easy env management. Maybe look into miniconda if envs are the only use case.

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 14 2024 at 10:56):

Do you install Conda with Homebrew?

view this post on Zulip Jan Range (Mar 14 2024 at 12:08):

Yes, I have done it using brew

view this post on Zulip Philip Durbin ๐Ÿš€ (Mar 14 2024 at 12:16):

Gotcha. Thanks. So far pyenv is working fine for me but a friend of mine is a Conda maintainer. I should probably give it a try. :grinning:

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2025 at 16:04):

I got a new laptop last year and have survived with system Python until today. It was version 3.9.6.

Since pyenv worked well enough for me last time I set it up on this laptop (again installed with Homebrew) and I'm still liking it: https://github.com/pyenv/pyenv

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 18 2025 at 19:13):

@Jan Range just so I'm clear, to switch between versions of Python you use Conda?

view this post on Zulip Jan Range (Aug 18 2025 at 19:15):

Yes, you can setup a Python version per environment through the following

conda create --name easydataverse python=3.11

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 18 2025 at 19:20):

Ok, maybe I should stop using pyenv since it's giving me trouble with poetry: #python > poetry not working for python-dvuploader

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 17 2025 at 19:32):

The bad news is that my laptop had to get wiped. The good news is that I can try Conda this time! :sweat_smile:

view this post on Zulip Jan Range (Sep 17 2025 at 19:32):

Oh no and oh yes :smile:

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2025 at 16:33):

@Jan Range so to get Conda, do you recommend installing via brew? And do you recommend Miniconda or Anaconda Distribution?

My main use case is having Poetry work well. And switching between Python versions. And having the equivalent of venv which I gather I won't be using anymore. :cry:

view this post on Zulip Oliver Bertuch (Sep 18 2025 at 17:54):

Please be very careful when using Conda. We have had serious legal and finance trouble on the horizon when we used the default channels on campus.

view this post on Zulip Oliver Bertuch (Sep 18 2025 at 17:56):

https://www.fz-juelich.de/en/rse/the_latest/the-anaconda-is-squeezing-us

view this post on Zulip Oliver Bertuch (Sep 18 2025 at 17:58):

Your mileage may vary if you work for a university

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2025 at 18:01):

Interesting post. Does it all apply to Miniconda as well?

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2025 at 18:02):

Oh, I guess it is mentioned: "mini-forge and micromamba are drop-in replacements for conda (and miniconda)"

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 18 2025 at 19:59):

I ended up installing Python 3.10 with brew. Maybe I don't need extra tools. :sweat_smile:

view this post on Zulip Jan Range (Sep 18 2025 at 20:03):

@Oliver Bertuch very nice read! Have not been aware of this. How does that relate to using Conda solely for environments? I dont use conda install but pip install, which is not using their channel. Does that also fall under their ToS?

view this post on Zulip Oliver Bertuch (Sep 19 2025 at 06:22):

You can always use conda (or one of the competitors), just make sure to not use the Anaconda channels. Then you should be fine, as you are not trying to use their commercial product.

view this post on Zulip Jan Range (Sep 19 2025 at 10:34):

Thanks, that is really good to know!

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 19 2025 at 13:59):

I'm a little disappointed that pyenv didn't work out for me. I'm basically scared to use it, since it stopped working with poetry. For now I'm going to try to manage multiple versions of Python with homebrew.


Last updated: Nov 01 2025 at 14:11 UTC