Why jovian.commit not defined?

NameError: name ‘jovian’ is not defined

You need to install and import it first.

  1. !pip install jovian --upgrade --quiet
  2. import jovian
  3. jovian.commit(project=‘projectName’)

Run all the cells from the start cell. The error is coming because you have not run the first 3 cells of the notebook:-

# Install the library

!pip install jovian --upgrade --quiet

import jovian

project_name=‘python-practice-assignment’

jovian.commit(project=project_name, privacy=‘secret’, evironment=None)

Hope I answer your query. :slight_smile:

thank you for the answer, it’s working for me :slight_smile:

thank you for the answer, it’s working for me :slight_smile:

1 Like