Python3 not in Xcode command line tools beta

python 2.7 is still shipped in Catalina but flagged as deprecated:


WARNING: Python 2.7 is not recommended. 
This version is included in macOS for compatibility with legacy software. 
Future versions of macOS will not include Python 2.7. 
Instead, it is recommended that you transition to using 'python3' from  within Terminal.


Typing python3 results in an error.


If I install the xcode-command-line-tools-beta from https://developer.apple.com/download/more/ and enter python3, I get this error:


xcode-select: error: tool 'python3' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Only if I install the 7GB Xcode-beta.app, and then the following line, can I successfully run the Apple-supplied version of python3:


sudo xcode-select -switch /Applications/Xcode-beta.app/Contents/Developer


I would like to know if python3 will be included in the xcode command line tools?

From the Xcode 11 release notes...


”In future versions of macOS, scripting language runtimes won’t be available by default, and may require you to install an additional package. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app.”


It might be available in the short term, but not the long term.

Python3 not in Xcode command line tools beta
 
 
Q