【问题标题】:import error when i try to import lxml.html当我尝试导入 lxml.html 时出现导入错误
【发布时间】:2019-10-04 07:11:51
【问题描述】:

我在以下代码中收到导入错误,我无法修复它

from urllib.error import HTTPError
from urllib.error import URLError
import urllib.request as url
import lxml.html

错误:

Exception has occurred: ImportError
DLL load failed: The specified module could not be found.
  File "C:\Users\ORIB1\Downloads\PageRank-master (1)\PageRank-master\src\altparse\alt_htmlparser.py", line 4, in <module>
    import lxml.html

【问题讨论】:

    标签: python html windows import lxml


    【解决方案1】:

    如何将此软件包安装到解释器或虚拟环境中?

    【讨论】:

    • 你使用全局解释器还是虚拟环境?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-09-06
    • 2018-04-14
    • 2015-10-10
    • 1970-01-01
    • 1970-01-01
    • 2021-04-26
    • 2017-05-29
    相关资源
    最近更新 更多