Migrating python environments from Intel to Apple Silicon with Virtual Fish

January 3, 2024


I just upgraded my work laptop from a 2019 Intel MacBook to a 2024 M2 MacBook. I was able to copy the contents of my .virtualenvs to the new machine, but since everything was compiled for Intel, nothing worked.

You can check to see which environments were broken with this command:

vf ls --details

Spoiler alert, every single one of my environments was broken. Luckily Virtual Fish has a command to upgrade all your environments at once.

vf upgrade —rebuild —all

« | Home | »