AWS GLUE Importerror:无法导入lxml的名称客观化
环境:GLUE 3.0,PYTHON 3.7
在Glue的Python库中下载并添加了轮档,该路径是LXML-4.8.0-CP37-CP37-CP37M-MANYLINUX_2_2_17_X86_64.MANYLINUX2014_X86_X86_64.MANYLINUX_2_2_2_2_2_2_2_24_X8644.WHLL LOWASTIS下载。
我正在尝试运行:
from lxml import objectify
但是正在收到以下错误: 从'lxml'(/tmp/lxml-4.8.0-cp37-cp37m-manylinux_2_2_2_17_x86_64.manylinux2014_x86_64.x86_64.manylinux_2_2_2_2_2_2_2_24_x86_6_6_6_6_6_6_6_64.whl/lxmlxmlxmlxmtstrtstrstrtstrstrtstrstrstrtringtstrstring):
Importerror:无法 可以看到此帖子及其之类胶水。
有帮助吗?
Environment: Glue 3.0, Python 3.7
Downloaded and added wheel file in Glue's Python library path of lxml-4.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl which I downloaded from pypi.
I am trying to run:
from lxml import objectify
But am getting the following error:
ImportError: cannot import name 'objectify' from 'lxml' (/tmp/lxml-4.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl/lxml/init.py)
I've seen this post and the likes of it, but can't install manually inside a managed service like Glue.
Any help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论