sublimelsp / LSP-pylsp

Convenience package for the Python Language Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to input a proxy server?

jeffworne opened this issue · comments

Hello,

Is there a method to use a proxy in order to download the required Python packages during installation? I'm behind a corporate firewall and can't download from external sources without a proxy bypass.

Did you try setting HTTP_PROXY and HTTPS_PROXY in the env dict?

I solved this by adding the proxy config to the global pip.ini file. From the command-line
pip.exe config set global.http_proxy http://PROXY_IP:PROXY_PORT

Did you try setting HTTP_PROXY and HTTPS_PROXY in the env dict?

I did, but that didn't seem to help (for some reason). Adding it to the global pip config file worked, though!