-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Python error just in importing apache-beam line within docker image #33321
Comments
https://numpy.org/news/#numpy-210-released: numpy 2.10 does not support Python 3.9. What numpy version does it install? Can you add the results of |
below are the results `root@28522bcd545f:/load# pip list annotated-types 0.7.0 |
with a clean Python 3.9.13 venv, when I tried to pip (24.3.1) install all your packages, I got this:
Removed pandas version, got this
Removed urllib3 version, got this
I stop here since importlib_metadata conflict cannot be resolved due to opentelemetry-api. I have no idea how you could install all these packages with these conflicts. |
I removed |
What happened?
Error in just importing apache-beam
so below are my files under load folder
under test_dp_maneesh_loader i have main.py
the dockerfile as below
the pyproject.toml
now i build the docker image as
and if i run the docker container with the image interactively in the container
and inside container i do
getting the error in the import statement as below
i can resolve the issue by downgrading th numpy version to 1.26.4 by mentioning in the toml file. I saw several posts mentioning about the issue on numpy 2 and dependencies.
what is the reason for this error in the import statement itself? Is this the only way to resolve this issue(by downgrading numpy)?
note that i removed many unnecessary lines from the python file.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: