Problem scenario
From the Python command prompt or when running a Python program, you receive this message “ImportError: cannot import name ‘pubsub_v1′”. What should you do?
Solution
Possible Solution #1
Try to run the program as sudo: sudo python nameOfProg.py
Possible Solution #2
Prerequisite
This assumes that pip has been installed.
…