Skip to content

Instantly share code, notes, and snippets.

@pastuhov
Created September 28, 2021 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pastuhov/9f8d85b8b3ee5ba1047d2b407458db94 to your computer and use it in GitHub Desktop.
Save pastuhov/9f8d85b8b3ee5ba1047d2b407458db94 to your computer and use it in GitHub Desktop.
Python on apple silicon m1
#!/usr/bin/env zsh
mdir=${0:a:h}
/usr/bin/arch -x86_64 $mdir/python "$@"
@pastuhov
Copy link
Author

chmod +x python_m1.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment