C4 W2 Lab_4 ApacheBeam & TF -- Break at Running the preprocess.py

Dear MLOps Mentors, I am following the Colab and run till “Run the preprocessing pipeline”, encounter the following error. Appreciate very much your help.

Traceback (most recent call last):

  • File “./molecules/preprocess.py”, line 25, in *
  • import pubchem*
    ModuleNotFoundError: No module named ‘pubchem’

Thanks for reporting.

I ran the lab just now and it fails due to a different reason.
Please extract the tar file into the molecules folder and everything should run as expected.

!mkdir molecules
!tar -xvzf molecules.tar.gz -C molecules

The staff have been notified to fix the lab.

Many thanks @balaji.ambresh. I will it later today and update.

Many thanks @balaji.ambresh. I have successfully completed the lab with your advice to create the molecules directory and tar unzip molecules.tar.gz in the new directory. Working smoothly now…