Ignoring failpip error: pip 7.1.2 requires SSL / TLS - Python 3.x and OS X

I am trying to install Python 3.5.1 according to these instructions:

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

I have: OS X 10.11.3, no Homebrew. Installed Xcode. Xcode command line tools installed.

Everything is going well until make installit starts for a while. Then it completes with this:

if test "xupgrade" != "xno"  ; then \
        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 searched for a long time, and all I can find is instructions for Homebrew or for Apache or other servers. I understand that I need to get SSL / TLS on my system, but I'm out of luck.

, , Homebrew , , , CS, , , Homebrew.

+4
1

, openssl. Apple Xcode, . - Homebrew (http://brew.sh/), openssl libs:

export CPPFLAGS=-I$(brew --prefix openssl)/include
export LDFLAGS=-L$(brew --prefix openssl)/lib

: .: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md

+6

Source: https://habr.com/ru/post/1627875/


All Articles