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.
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.