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:
- Open Canopy.
- Select the Tools menu and then select Canopy Terminal (MacOS and Linux) / Canopy Command Prompt (Windows).
- 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
- From Canopy, open the Preferences dialog window and select the Python tab.
- Deselect the checkbox that says "Use Default Canopy Environment (User)".
- From the dropdown box titled "EDM Environment to use" select the newly created python 3.6 environment.
- Click OK and then restart Canopy.
- 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.