(For general enpkg instructions, please see "Using enpkg to update Canopy/EPD packages".)
A network proxy or proxy firewall is a computer that sits between the local network and the larger internet to filter connections. When a computer on the local network wishes to connect to a machine outside the local network, instead of connecting directly to it, the computer instead connects to a proxy server, which then handles the connection to the outside world.
In order to connect through the proxy server, any application, including enpkg, needs to be configured with information about the proxy server.
If you have enpkg version 4.6.2 or higher , as shown by the command "enpkg --version" then the general command-line proxy specification syntax is the following:
enpkg --proxy [username:[email protected]]<server>:<port> <arguments>
The first step is to provide enpkg with your Enthought login credentials:
$ enpkg --proxy [username:[email protected]]<server>:<port> --userpass
and enter your email address and Enthought.com password when prompted.
If the command fails with an SSL certificate error (either in this step or in subsequent ones), you may need to include another enpkg command line option,
--insecure , to disable SSL certificate checking; this checking was added in enpkg 4.8 but doesn't work in all settings. Please let us know if the error persists even with the "---insecure" option.
You can then update whatever packages you like, to the most recent versions in the online Canopy/EPD repository, as described here.
By default, you must specify the proxy with each enpkg command. To specify the proxy more persistently, there are two alternate methods:
a) You may specify the proxy configuration information by editing the file .enstaller4rc, in your user home directory.
b) If you do not specify proxy using either of these enstaller-specific methods, then enpkg will look to see if the "HTTP_PROXY" and "HTTPS_PROXY" environment variables are set. If these are found, then it will use the proxy settings specified by these environment variables. For the specification of these variables, see "Can I use Canopy Behind a Proxy Firewall?" (section "Proxy environment variables").
The location of the enpkg command varies by platform. The location of enpkg in Canopy is shown in the table below.
|Windows XP & Vista 64||C:\Documents and Settings\<username>\LocalSettings\Application Data\Enthought\Canopy\User\Scripts\enpkg.exe|
|Windows XP & Vista 32||C:\Documents and Settings\<username>\LocalSettings\Application Data\Enthought\Canopy32\User\Scripts\enpkg.exe|
|Windows 7 64||C:\Users\<username>\AppData\Local\Enthought\Canopy\User\\Scripts\\enpkg.exe|
|Windows 7 32||C:\Users\<username>\AppData\Local\Enthought\Canopy32\User\Scripts\enpkg.exe|
|Mac OSX 64||~/Library/Enthought/Canopy_64bit/User/bin/enpkg|
|Mac OSX 32||~/Library/Enthought/Canopy_32bit/User/bin/enpkg|
 If you have enstaller 4.6.1 or older, and are working behind a proxy firewall, please contact Enthought technical support, see below.
Please do not enter support requests in article comments
Please use article comments for suggestions to improve the article. For individual support requests, please follow these guidelines.