Using venv in Cloudera AI

Create Virtual environment inside CML session terminal

  • Create a new CML project
  • Open a session in the required python version

project has to be Python3.6 for Spark2, Python3.8 or Python3.9 for Spark3

Configure the pip.conf to install the packages locally not for the user

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!