Linux: Canopy Terminal cannot be opened from Canopy Tools menu on some systems

The "Canopy terminal" command in the Canopy Tools menu, where implemented (on Windows, Mac, and some Linux desktop environments) is a convenience for opening a regular terminal session in which Canopy Python has been activated (i.e. put on the PATH).

Given the diversity in Linux desktop environments, the Canopy Terminal command won't work in all cases. Instead, you can put Canopy's Python environment location on your PATH in your terminal of choice, either persistently or via an alias.

For more information in Canopy 1, see this article:
https://support.enthought.com/entries/23646538-Make-Canopy-User-Python-be-your-default-Python-i-e-on-the-PATH-

In Canopy 2 on Linux, the location of the Python environment is, by default:
/home/<username>/.local/share/canopy/edm/envs/User/bin/

The easiest way to put this on your path is with this command:
source ~/.local/share/canopy/edm/envs/User/bin/activate


Also, we would welcome your informing us, via the comments below, what Linux distro and what desktop environment / terminal you are using.

Have more questions? Submit a request

Comments

Powered by Zendesk