Swimlane Platform Installer Gu...
Troubleshooting Guide
Install and update Python packages behind a proxy
pip, a package manager for python, requires internet access when installing and updating packages from pypi if the swimlane server is behind an outbound http proxy server, then pip can be configured to connect through the proxy server in various ways using the proxy command line option to specify a proxy in the form \[user\ password@]proxy url\ proxy port the use of "user\ password@" is optionally if the proxy requires authentication by setting the standard environment variables http proxy, https proxy, and no proxy using proxy in a config file using command line for a single package install or update you can use the pip built in proxy flag install pip install proxy=http //\[user\ password@]proxy url\ proxy port \<package name> upgrade pip install u proxy=http //\[user\ password@]proxy url\ proxy port \<package name> using environment variables for multiple package installs and updates, you can set environment variables and use the pip command as you normally would using config pip allows you to set all command line option defaults in a standard ini style config file, pip ini to locate the pip ini, follow the config file link edit pip ini file and add \[global] proxy = http //\[user\ password@]proxy url\ proxy port within swimlane from swimlane admin console, go to "config" tab in the "config" tab, you will find the option "upload pip config for api and tasks" check the "upload pip config for api and tasks" option, and upload a pip conf file with the following content \[global] \# proxy settings proxy = http //proxy url\ proxy port when using a proxy, the following sample code can be used for accessing the internet within the swimlane python script task import os \# proxy settings os environ\['http proxy'] = http //\[user\ password@]proxy url\ proxy port os environ\['https proxy'] = https //\[user\ password@]proxy url\ proxy port note if you run into socks error then use all proxy=http //username\ password\@proxy url\ proxy port