https://github.com/python/cpython/blob/957f9fe162398fceeaa9ddba8b40046b8a03176d/Platforms/WASI/__main__.py#L328 That should be reading the directory location from `pybuilddir.txt` instead. <!-- gh-linked-prs --> ### Linked PRs * gh-144535 <!-- /gh-linked-prs -->