Hacker News new | ask | show | jobs
by icedchai 1386 days ago
I ran into this. You need Python 3.10. I had to edit environment-mac.yaml and set python==3.10.6 ...
2 comments

I changed the dependency to 3.10.4 (tried 3.10.6 as well), installed python 3.10.4, deactivated and activated ldm environment, but it still uses python 3.9
Can you delete your environment and try again?
Since I don't know how to use conda, I had to struggle a bit to learn how to recreate the environment. Here's the commands that worked me for future reference:

  conda deactivate
  conda env remove -n ldm
Then, again:

  CONDA_SUBDIR=osx-arm64 conda env create -f environment-mac.yaml
  conda activate ldm
Thanks, it worked
This worked for me too.