osx - Ignoring ensurepip failure: pip 7.1.2 requires SSL/TLS - Python 3.x & OS X -


i trying install python 3.5.1 according these instructions:

http://thomas-cokelaer.info/blog/2014/08/installing-another-python-version-into-virtualenv/

i have: os x 10.11.3, no homebrew. xcode installed. xcode command line tools installed.

everything goes until make install has run while. quits this:

if test "xupgrade" != "xno"  ; \         case upgrade in \             upgrade) ensurepip="--upgrade" ;; \             install|*) ensurepip="" ;; \         esac; \          ./python.exe -e -m ensurepip \             $ensurepip --root=/ ; \     fi ignoring ensurepip failure: pip 7.1.2 requires ssl/tls 

i have been searching long time , can find instructions homebrew or apache or other servers. understand i've got ssl/tls on system, i've had no luck.

the biggest reason don't want homebrew want non-cs students follow same procedure, , don't want them install homebrew.

it gives error because misses openssl. apple no longer provides in xcode, need manually install fist. simplest approach use homebrew package manager(http://brew.sh/), install required package, , include openssl libs:

export cppflags=-i$(brew --prefix openssl)/include export ldflags=-l$(brew --prefix openssl)/lib 

added: more detais, see: https://github.com/homebrew/homebrew/blob/master/share/doc/homebrew/homebrew-and-python.md


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -