티스토리 뷰

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

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함