Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/concepts/python-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,15 @@ Pyodide distributions are provided by the [Pyodide project](https://github.com/p

Pyodide is a port of CPython for the WebAssembly / Emscripten platform.

## Transparent x86_64 emulation on aarch64

Both macOS and Windows support running x86_64 binaries on aarch64 through transparent emulation.
This is called [Rosetta 2](https://support.apple.com/en-gb/102527) or
[Windows on ARM (WoA) emulation](https://learn.microsoft.com/en-us/windows/arm/apps-on-arm-x86-emulation).
It's possible to use x86_64 uv on aarch64, and also possible to use an x86_64 Python interpreter on
aarch64. Either uv binary can use either Python interpreter, but a Python interpreter needs packages
for its architecture, either all x86_64 or all aarch64.
Comment on lines +474 to +476
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These is my assumption based on previous issues. There are exceptions (https://learn.microsoft.com/en-us/windows/arm/arm64x-pe), but it seems to be advisable to have the user stay either all on x86_64 or all on aarch64 for their venv.


## Registration in the Windows registry

On Windows, installation of managed Python versions will register them with the Windows registry as
Expand Down
Loading