Skip to content

Instantly share code, notes, and snippets.

@ulope
Created July 18, 2016 15:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ulope/339181d191314b53c1bf9b6e73cd443e to your computer and use it in GitHub Desktop.
Save ulope/339181d191314b53c1bf9b6e73cd443e to your computer and use it in GitHub Desktop.
Install Python 3.6.0a3 via pythonz
# Assumes homebrew and pythonz[1] are installed.
brew install openssl
LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" \
pythonz install \
-t cpython \
--url=https://www.python.org/ftp/python/3.6.0/Python-3.6.0a3.tgz \
3.6.0a3
# [1] https://github.com/saghul/pythonz
@ryanhiebert
Copy link

ryanhiebert commented Dec 24, 2016

I don't know what magical search terms led me to this, but thank you. I was pulling my hair out figuring out what to do with brew's disdain for linking openssl (it would only complain at me when I did brew link openssl --force) to let me use pythonz again.

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