'BUILD FAILED when trying to install Pyenv3 on OSX
So I've been trying to install Pyenv using Homebrew, but kept getting a failed build error and this message:
Inspect or clean up the working tree at /var/folders/bb/n2w9d9210qzg_y3_c4cm92tr0000gn/T/python-build.20220507224423.63876
I've included the last two lines of the log:
configure: error: Unexpected output of 'arch' on OSX
make: *** No targets specified and no makefile found. Stop.
Let me know if you need more info. Thank you.
Solution 1:[1]
Install pyenv:
brew install pyenv
For Python 3, let's install 3.10.4.
pyenv install 3.10.4
To see the list of the Python versions
pyenv versions
#Python 3.10.4
You can update to new version, and optionally uninstalling the old version by
pyenv install new.python.version
pyenv global new.python.version
pyenv uninstall old.python.version
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | DeveloperInSky |
