-4.5 C
New York
Thursday, January 9, 2025

set up – migration from x86 – Apple Silicon – issues with ~/Library/Python/3.12 x86 leftovers


Simply moved from an X86 mac to an M3 and having some issues with the ~/Library/Python/3.12 listing.

What I did to date:

  • restored from Time Machine

    • dwelling solely
    • left /Functions/ behind, figuring that is all x86 and solely wish to Rosetta when obligatory
  • put in python3.12 (from macports, after which then immediately from python.org)

All went effectively. Put in uv too, and received a venv working. Python 3.12 is stay and appears good.

Besides that, after I name ruff I get a discover about unhealthy CPU.

Positive sufficient I’ve 3.12 python executables that received carried over in ~/Library/Python:

3.12
├── bin
├── and many others
│   └── jupyter
├── embrace
│   └── python3.12
├── lib
│   └── python
└── share
    ├── purposes
    ├── icons
    ├── jupyter
    └── man

OK, and sure, positive sufficient, there may be an outdated bin/ruff. All these things received 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?

Be aware: I don’t want to use brew for a python set up.

observe: That is what the three.11 bin construction seems like. Be aware 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  workers  18915192 31 Jan  2024 ruff

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles