Managing EDM environments

Here’s an expanded guide to managing your Python development environments using the Enthought Tools.

Create an empty environment

To create an empty environment you need to click the plus button on the environment section header. This will ask you for a new environment name and a python version in a dialog. The newly created environment will immediately be activated.

Create empty environment

IPython and a few other packages will automatically be installed in the empty environment.

Create an environment from a bundle

To create an environment from a bundle you need to click the search button on the bundle section header. This will ask you to select a bundle and enter a new environment name in a dialog. The newly created environment will immediately be activated.

Search remote bundle

Another way is to directly select the bundle from the list like shown below.

Import remote bundle

There’s also a way of using local bundle to create an environment. To do that you need to click a file button on the bundle section header, then select a bundle file and enter a new environment name in a dialog.

Import local bundle

Activate an environment

To activate an environment, you need to click the play button on the deactivated environment. A terminal running chosen environment will pop up within VS Code editor.

Activate an environment

Note

Your linter settings will automatically be adjusted on environment activation in the following cases: Pylint will be disabled if it’s not installed, Flake8 will be enabled if it’s installed and there are no linters enabled.

Deactivate an environment

To deactivate an environment, you need to click the X button on the activated environment.

Deactivate an environment

Remove an environment

To remove an environment, you need to right click the environment and select Remove environment in the popup menu. This action can’t be undone.

Using commands

VS Code Command Palette lets you interact with an Enthought Tools by triggering the commands directly. To do that, open the Command Palette (Ctrl+Shift+P), search for the desired command and press Enter. All of the Enthought Tools commands are prefixed with EDM so you can easily find them.

Available commands