No module named options.pipeline_options
I just started with the original Apache documentation guide, it looks like this particular pipeline import is no longer available.
from apache_beam.options.pipeline_options import PipelineOptions
Link: https://beam.apache.org/documentation/programming-guide/#pipeline
Mistake:
ImportError Traceback (last call last) in () ----> 1 from apache_beam.options.pipeline_options import PipelineOptions
**
ImportError: No module named options.pipeline_options
**
Any active python users of the apache bundle? Who knows what is the actual import path?
source to share
Go to Python Lib folder or site folder and check the folder structure in the apache_beam package.
If the structure is a folder apache_beam\pipeline
then your import statement should befrom apache_beam.pipeline import *
Or is it better to use a target import operation as pointed out in @gnanagurus answer.
source to share