Tips, Tricks, and Frequently Asked Questions

This section provides answers to specific questions raised by early users, tips for using the environment and other specific suggestions.

Where are all of the Python packages in my Canopy Python Environments?

Canopy 2 provides you with Python environments installed and managed by the Enthought Deployment Manager (EDM). The default Python environment is named “User”, and you may also create and switch to other environments (See “_python_environments”.)

The “Settings” pane in Canopy’s Package Manager will show you the exact location of the Canopy Python environment currently active in Canopy. The default locations are:

Platform Arch Location
Windows 64 C:\Users\<username>\AppData\Local\Enthought\Canopy\edm\envs\<envname>
Windows 32 C:\Users\<username>\AppData\Local\Enthought\Canopy32\edm\envs\<envname>
Mac OSX 64 ~/Library/Enthought/Canopy/edm/envs/<envname>
Linux 64 ~/.local/share/canopy/edm/envs/<envname>

<username> should be replaced by your Windows username, and <envname> should be replaced by the name of your currently active Canopy Python environment (initially, the default “User” environment).

You can also locate your currently active environment by typing import sys;sys.prefix in Canopy’s Python panel.

Do not manually delete Canopy 2 Python environments. Instead, delete them as described in ”:ref:`_python_environments`”.

Canopy 1.x used a venv-based virtual User Python environment with different default locations.

How do I use Canopy when behind a proxy firewall?

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 wish to connect to a machine outside the local network, instead of connecting directly to it, the computer instead connect to a proxy server, which then handles the connection to the outside world.

For more information, see “Using Canopy Behind a Proxy Firewall” in the Enthought Support Knowledge Base.

Where are the preference and log files located?

Usually, users will not need to reference these files. Most preferences are usually set from the Preferences dialog in the GUI. If there is a GUI error, a dialog should ask you if you want to report it, which should send the relevant log file to Enthought.

However, if you need to access these files, here are their platform-specific locations:

Platform Location
Windows C:\Users\<user>\AppData\Roaming\Enthought\Canopy\preferences.ini
Mac OSX ~/.canopy/preferences.ini
Linux ~/.canopy/preferences.ini