Associating a Python virtual environment with a Cloudera Data Engineering Session
You can associate the Python virtual environment with a Cloudera Data Engineering Session at the time of creation.
Before you begin
- Download and configure the CDE CLI.
 - Create a Python virtual environment Cloudera Data Engineering resource.
 
Steps
- Using the CDE CLI, run the 
cde session createcommand to associate a Python virtual environment with the session.cde session create --name python-env-example --python-env-resource-name cde-python-env-resource 
Before you begin
- Create a Python virtual environment Cloudera Data Engineering resource.
 - Create a Cloudera Data Engineering Session.
 
Steps
- In the Cloudera console, click the Data Engineering tile. The Cloudera Data Engineering Home page displays.
 - Click Sessions on the left navigation menu.
 - Using the dropdown menu, select the virtual cluster containing the application you want to manage.
 - Click Create.
 - In the Python Environment section, click Select Python Environment.
 - Select the Python virtual environment resource that you want to use, and then click Select Resource.
 - Set additional configurations as needed.
 - Click Create.
 
