Saturday, July 23, 2022

[SOLVED] pyenv proxy not work on MAC

Issue

As described in the title, the following config, doesn't enable the proxy.

export http_proxy="socks5://127.0.0.1:1080"
export http_proxys="socks5://127.0.0.1:1080"

pyenv install 3.5.2

is there other methods?


Solution

no inline version of the answer from @Leon:

export https_proxy=socks5://127.0.0.1:1080
# do something
unset https_proxy


Answered By - Kyan
Answer Checked By - Willingham (WPSolving Volunteer)