AnandInguva commented on issue #29037: URL: https://github.com/apache/beam/issues/29037#issuecomment-1766746732
One difference between 2.50.0 and 2.51.0 is that for 2.51.0, tensorflow has been removed from the Apache Beam docker containers at https://github.com/apache/beam/pull/28424. I have created a simple `setup.py` and ran the commands `python setup.py sdist` or `pip install build && python -m build` from the directory where setup.py is located. It creates a tar ball and I pass the tarball to a simple beam pipeline that imports tensorflow. The pipelines are working as expected for both 2.50.0 and 2.51.0 ``` from setuptools import setup setup( name="custom-setup", version="0.1", packages=[], # specify your packages here if you have any install_requires=[ 'tensorflow' ] ) ``` Can you share the script you are using to create the tarball/zip for the `--extra_package` pipeline option? -- 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]
