티스토리 뷰
https://github.com/apple/tensorflow_macos
Problem
ERROR: Error retrieving python version, or python executable /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 not version 3.8. Please specify a Python 3.8 executable with the --python option.
Error running installation script with default options. Please fix the above errors and proceed by running
Todo
1. install latest command line tools for xcode
https://developer.apple.com/download/more/?=command%20line%20tools
python3.8 will be installed.
2. fix scripts/download_and_install.sh
add "--python" option
bash ./$INSTALLER_SCRIPT --prompt --python=/Library/Developer/CommandLineTools/usr/bin/python3 || graceful_error
then
./download_and_install.sh
by @chinitaberrio
https://github.com/chinitaberrio/tensorflow_macos/commit/3c2524f50a8bee14c8f3ee4e46c2c0b8c16b0661
Adding CommandLineTools python version · chinitaberrio/tensorflow_macos@3c2524f
Permalink This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Browse files Adding CommandLineTools python version Loading branch information Showing 1 changed file with 1 addition and 1 deletion
github.com
but tensorflow-text is not supported yet for m1