Creating a Python 3.6 environment with Canopy 2.1

Canopy 2.1 allows the user to have multiple Enthought Python environments installed side by side, each with potentially different versions of Python and different sets of packages. These are all maintained by a single Canopy 2.1 installation, which can use one of these environments at a time.

Currently the Canopy installers give the option of installing a default "User" Python environment with versions 2.7 or 3.5 only, however, Python version 3.6 with the same Enthought packages is supported using the embedded Enthought Deployment Manager command line tool, edm.

 

To create a python 3.6 environment with Canopy 2.1:

  1. Open Canopy.
  2. Select the Tools menu and then select Canopy Terminal (MacOS and Linux) / Canopy Command Prompt (Windows).
  3. From the shell, execute the following command, making sure to fill in <env_name> with the name for the new environment - e.g. py36:
    edm install -e <env_name> --version 3.6 jupyter numpy pandas matplotlib pyqt
  4. From Canopy, open the Preferences dialog window and select the Python tab.
  5. Deselect the checkbox that says "Use Default Canopy Environment (User)".
  6. From the dropdown box titled "EDM Environment to use" select the newly created python 3.6 environment.
  7. Click OK and then restart Canopy.
  8. Additional packages such as Scipy, Scikit Image, Scikit Learn, etc ...can be installed via the Canopy Package Manager.

If you create a Python 3.6 environment that you want to replicate (either on the same or on different machines with the same OS), you can use EDM's bundle (export / import) features.

For additional information see:
http://docs.enthought.com/canopy/2.1/configure/python-environments.html
https://support.enthought.com/hc/en-us/articles/115002376586
https://docs.enthought.com/edm/

Have more questions? Submit a request

Comments

Powered by Zendesk