astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.76k stars 468 forks source link

Rye on MacOS 15.0 / M3 - libpython3.12.dylib missing #1416

Open tcctl opened 3 days ago

tcctl commented 3 days ago

Steps to Reproduce

  1. Install rye using the curl pipe to bash method for MacOS
  2. Attempt to "rye run _my_projecthere".

Expected Result

Rye project runs.

Actual Result

dyld[14905]: Library not loaded: @executable_path/../lib/libpython3.12.dylib Referenced from: <4C4C4495-5555-3144-A117-A9A03E03839B> /Users//Development/test_project/.venv/bin/python3 Reason: tried: '/Users//Development/test_project/.venv/lib/libpython3.12.dylib' (no such file) Abort trap: 6

Version Info

rye 0.41.0 commit: 0.41.0 (10d691d16 2024-09-29) platform: macos (aarch64) self-python: cpython@3.12.6 symlink support: true uv enabled: true

Stacktrace

(same result, rye doesn't appear to be so much crashing as unable to find what it needs and simply not proceeding)

tcctl commented 3 days ago

For context, I was able to run a few rye managed projects on my old intel based Mac. Migrating this one over to the ARM silicon is probably the issue. That or I've simply got something configured incorrectly. Would appreciate any advice from anyone that's seen something similar.