FurcyPin opened a new issue, #23599: URL: https://github.com/apache/beam/issues/23599
### What happened? I tried running the [DataFrame example in Google Colab](https://colab.research.google.com/github/apache/beam/blob/master/examples/notebooks/tour-of-beam/dataframes.ipynb), and after running the first cell: ``` %pip install --quiet apache-beam[interactive,dataframe] ``` I got the following error: ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow 2.8.2+zzzcolab20220929150707 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.3 which is incompatible. google-colab 1.0.0 requires ipykernel~=5.3.4, but you have ipykernel 6.16.0 which is incompatible. google-colab 1.0.0 requires ipython~=7.9.0, but you have ipython 7.34.0 which is incompatible. google-colab 1.0.0 requires tornado~=5.1.0, but you have tornado 6.2 which is incompatible. ``` Trying to run the next cell: ``` import apache_beam as beam import apache_beam.runners.interactive.interactive_beam as ib from apache_beam.runners.interactive.interactive_runner import InteractiveRunner pipeline = beam.Pipeline(InteractiveRunner()) # Create a deferred Beam DataFrame with the contents of our csv file. beam_df = pipeline | 'Read CSV' >> beam.dataframe.io.read_csv('solar_events.csv') # We can use `ib.collect` to view the contents of a Beam DataFrame. ib.collect(beam_df) ``` also gave an error: ``` ContextualVersionConflict Traceback (most recent call last) [<ipython-input-4-df06c7cf7bd0>](https://localhost:8080/#) in <module> 1 import apache_beam as beam ----> 2 import apache_beam.runners.interactive.interactive_beam as ib 3 from apache_beam.runners.interactive.interactive_runner import InteractiveRunner 4 5 pipeline = beam.Pipeline(InteractiveRunner()) 10 frames [/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in resolve(self, requirements, env, installer, replace_conflicting, extras) 775 # Oops, the "best" so far conflicts with a dependency 776 dependent_req = required_by[req] --> 777 raise VersionConflict(dist, req).with_context(dependent_req) 778 779 # push the new requirements onto the stack ContextualVersionConflict: (protobuf 3.17.3 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('protobuf<5.0.0dev,>=3.19.0'), {'proto-plus'}) ``` You should add a validation pipeline for you Google Colab examples (if you don't have it already), because those notebook are directly referenced by the documentation, and live examples that crashes may hurt user adoption. ### Issue Priority Priority: 1 ### Issue Component Component: examples-python -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
