alias intel="env /usr/bin/arch -x86_64 /bin/zsh --login"
intel
arch
output:
i386
bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
alias brew86='/usr/local/bin/brew'
brew86 tap azure/functions
brew86 install azure-functions-core-tools@4
# if upgrading on a machine that has 2.x or 3.x installed:
brew86 link --overwrite azure-functions-core-tools@4
func version
output:
4.0.5198
intel
arch
func init test_python --python -m V2
cd test_python
func new -t “HTTP Trigger”
python3 -m venv .venv
source .venv/bin/activate
func start
OR: Just use and follow readme of this Python v2 starter template