Installing packages into Canopy 2 User Python from the OS command line

Whenever possible, packages should be installed using Canopy's Package Manager or equivalently at the command-line:

edm install <package name>

If the package is not available or you require a more recent version, please see the following steps.

Standard quick steps

 1) From the Canopy Tools menu, open a Canopy Command Prompt (Windows) or Canopy Terminal (Mac or Linux). Use this in the following steps.

2) Type the following command:

pip install <package name>

Note that while the newly installed package can be imported (used) in your Python programs, it will not show in the Package Manager, nor in edm's list of installed packages, which are mostly equivalent; these only include the packages that they have installed themselves.

 

Listing both Canopy-installed and externally-installed packages

To see a list of all the packages installed into Canopy User Python by normal means (whether Package Manager, edm, egginst, pip, or easy_install), you can type the following at a Canopy Command Prompt / Terminal:

pip list

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.

Have more questions? Submit a request

Comments

Powered by Zendesk