赞
踩
报错详情如下:
......
from lxml import etree
ImportError: dlopen(/opt/miniconda3/envs/python38/lib/python3.8/site-packages/lxml/etree.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '_exsltDateXpathCtxtRegister'
解决方法:
先用conda虚拟环境中的pip卸载本地lxml,然后用conda安装
pip3 uninstall lxml
conda install lxml
问题解决
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。