-
-
Notifications
You must be signed in to change notification settings - Fork 585
ImportError: cannot import name 'etree' #214
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
Comments
Not exactly related to this and I'ven't looked under the hood but Is there a way pip_import() looks at dependencies and automatically installs missing dependencies? |
@codecakes - Hey, I seem to be facing the same issue. Did you resolve this or have a workaround for it? |
@JRodDynamite I would suspect the Check under the equivalent of |
I do see the .so file present and since I'm running this on CentOS 7, it's tagging the correct OS in the filename (as well as architecture).
|
@thundergolfer - I think you are right, my install and runtime python is different. I'm using a custom Python toolchain. I modified my I don't think setting |
Yeah stick to configuring Without setting up this, you're at the mercy of whatever the workspace rule or the Since you have solved you problem and @codecakes hasn't followed up in a while, I'll close this issue for now 👍 |
Hello! I am having a similar issue to this. I have a docker container running on a centos:7 image. This image uses bazel to build a python zip. This zip is ran directly in an ec2 running centos 7. But having the following error:
Any advice on this? Thanks |
@PepeGonza it's most likely a platform mismatch problem. The |
Apologies for posting on an old/closed issue, but I am running into the a similar problem. When I try to run my executable zip in a CentOS container, it seems like my dependencies that are not pure Python (LXML is a binding for some C libraries, and I'm having similar problems with CFFI) are breaking because only the Python pieces are being packaged. The zip is being built in a different CentOS container, and all my other zips which contain only pure Python dependencies are running fine. Does anyone have advice on this? |
The text was updated successfully, but these errors were encountered: