Proxy configuration for pip

Hi,

I would like to ask you how to configure proxy address for pip in case of a Datalore Enterprise version installed in closed network environment where only specific urls are permitted by a proxy.

In this time I’m able to install packages by setting os.environ[‘http_proxy’] =A.B.C.D:port in one cell and after that in next cell(s) I can use magic command !pip install something, but this is not persistent unfortunately.

Is there any possibility how to configure it for all users in Datalore Enterprise at once?

Thanks a lot.

It looks like I found a partly solution. I added proxy settings to an agents-config.yaml file and I modified a little an environment.yml file for new dependencies and it works. But - I have still some problems. An explore tab in Environment is not working. I could see dependencies in an Installed tab, but I’m not able to get info for a selected package (and update for instance)…

Any idea? I think that all is based on the fact that the Datalore does not fully support http(s) proxy.

Have a nice day

Hi Adrie,

same to me in case of data sources. I will try new version if there is any change - we will see.

Have a nice day