Simply moved from an X86 mac to an M3 and having some issues with the ~/Library/Python/3.12 listing.
What I did up to now:
restored from Time Machine
- residence solely
- left
/Functions/behind, figuring that is all x86 and solely need to Rosetta when needed
put in python3.12 (from macports, after which then straight from python.org)
All went effectively. Put in uv too, and acquired a venv operating. Python 3.12 is dwell and appears good.
Besides that, after I name ruff I get a discover about unhealthy CPU.
Certain sufficient I’ve 3.12 python executables that acquired carried over in ~/Library/Python:
3.12
├── bin
├── and many others
│ └── jupyter
├── embody
│ └── python3.12
├── lib
│ └── python
└── share
├── functions
├── icons
├── jupyter
└── man
OK, and sure, certain sufficient, there may be an outdated bin/ruff. All these things acquired restored from Time Machine.
OK, I believe, rm that 3.12 and reinstall Python 3.12.
Once more, all goes effectively, besides that not one of the installs recreated a ~/Library/Python/3.12. So, I can pip set up ruff efficiently, however nothing will get deposited in Python/3.12.
That is after a reinstall from macports and a reinstall from python.org. I additionally tried to recreate the three.12 listing construction, empty. Did not assist.
How do I repair this set up?
Observe: I don’t want to use brew for a python set up.
notice: That is what the three.11 bin construction appears to be like like. Observe that ruff is a file, not a symlink.
/Customers/me/Library/Python/3.11/bin
me@Mac bin % lsl ruff
-rwxr-xr-x 1 me employees 18915192 31 Jan 2024 ruff
