mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-12 21:33:54 -05:00
+1 error message
@@ -17,7 +17,7 @@
|
|||||||
- [macOS: "ld: symbol(s) not found for architecture x86_64" (#1245)](#macos-ld-symbol-s-not-found-for-architecture-x86-64-1245)
|
- [macOS: "ld: symbol(s) not found for architecture x86_64" (#1245)](#macos-ld-symbol-s-not-found-for-architecture-x86-64-1245)
|
||||||
- [Python cannot find a dependent dynamic library even though it's installed](#python-cannot-find-a-dependent-dynamic-library-even-though-its-installed)
|
- [Python cannot find a dependent dynamic library even though it's installed](#python-cannot-find-a-dependent-dynamic-library-even-though-its-installed)
|
||||||
- ["python-build: definition not found" or another new feature missing even though you have a new enough Pyenv](#python-build-definition-not-found-or-another-new-feature-missing-even-though-you-have-a-new-enough-pyenv)
|
- ["python-build: definition not found" or another new feature missing even though you have a new enough Pyenv](#python-build-definition-not-found-or-another-new-feature-missing-even-though-you-have-a-new-enough-pyenv)
|
||||||
- ["configure: error: internal configure error for the platform triplet, please file a bug report" in MacOS](#configure-error-internal-configure-error-for-the-platform-triplet-please-file-a-bug-report-in-macos)
|
- ["configure: error: internal configure error for the platform triplet, please file a bug report" or "configure: error: Unexpected output of 'arch' on OSX" in MacOS](#configure-error-internal-configure-error-for-the-platform-triplet-please-file-a-bug-report-or-configure-error-unexpected-output-of-arch-on-osx-in-macos)
|
||||||
- [Keg-only Homebrew packages are forcibly linked / added to PATH](#keg-only-homebrew-packages-are-forcibly-linked--added-to-path)
|
- [Keg-only Homebrew packages are forcibly linked / added to PATH](#keg-only-homebrew-packages-are-forcibly-linked--added-to-path)
|
||||||
- [On Apple Silicon, when building for ARM64, a dependency is present in x64 Homebrew but not arm64 Homebrew](#on-apple-silicon-when-building-for-arm64-a-dependency-is-present-in-x64-homebrew-but-not-arm64-homebrew)
|
- [On Apple Silicon, when building for ARM64, a dependency is present in x64 Homebrew but not arm64 Homebrew](#on-apple-silicon-when-building-for-arm64-a-dependency-is-present-in-x64-homebrew-but-not-arm64-homebrew)
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
@@ -364,12 +364,19 @@ bash $ which -a pyenv
|
|||||||
|
|
||||||
If yes, [remove it](https://github.com/pyenv/pyenv#uninstalling-pyenv).
|
If yes, [remove it](https://github.com/pyenv/pyenv#uninstalling-pyenv).
|
||||||
|
|
||||||
## "configure: error: internal configure error for the platform triplet, please file a bug report" in MacOS
|
## "configure: error: internal configure error for the platform triplet, please file a bug report" or "configure: error: Unexpected output of 'arch' on OSX" in MacOS
|
||||||
|
|
||||||
```
|
```
|
||||||
checking for the platform triplet based on compiler characteristics... darwin
|
checking for the platform triplet based on compiler characteristics... darwin
|
||||||
configure: error: internal configure error for the platform triplet, please file a bug report
|
configure: error: internal configure error for the platform triplet, please file a bug report
|
||||||
```
|
```
|
||||||
|
or
|
||||||
|
```
|
||||||
|
checking build system type... arm-apple-darwin<...>
|
||||||
|
checking host system type... arm-apple-darwin<...>
|
||||||
|
<...>
|
||||||
|
configure: error: Unexpected output of 'arch' on OSX
|
||||||
|
```
|
||||||
|
|
||||||
This means that *the Python version you're installing doesn't support your MacOS and/or XCode version.* In particular:
|
This means that *the Python version you're installing doesn't support your MacOS and/or XCode version.* In particular:
|
||||||
|
|
||||||
@@ -383,8 +390,12 @@ Unlink/Remove them from your `PATH`.
|
|||||||
|
|
||||||
Known error messages they cause:
|
Known error messages they cause:
|
||||||
|
|
||||||
* Homebrew `binutils` on `PATH`:
|
* Homebrew `binutils` on `PATH` (note that the architecture is detected as `arm64` (`aarch64` is also possible) rather than `arm`):
|
||||||
* `configure: error: Unexpected output of 'arch' on OSX`
|
* ```
|
||||||
|
checking build system type... arm64-apple-darwin<...>
|
||||||
|
checking host system type... arm64-apple-darwin<...>
|
||||||
|
configure: error: Unexpected output of 'arch' on OSX
|
||||||
|
```
|
||||||
* Homebrew `llvm` on `PATH`:
|
* Homebrew `llvm` on `PATH`:
|
||||||
* `warning: pointer is missing a nullability type specifier`
|
* `warning: pointer is missing a nullability type specifier`
|
||||||
* `llvm-ar: error: libpython3.10.a: Invalid record`
|
* `llvm-ar: error: libpython3.10.a: Invalid record`
|
||||||
|
|||||||
Reference in New Issue
Block a user