Python 尝试导入lxml.html时出现导入错误
我在以下代码中收到导入错误,无法修复Python 尝试导入lxml.html时出现导入错误,python,html,windows,import,lxml,Python,Html,Windows,Import,Lxml,我在以下代码中收到导入错误,无法修复 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\
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
发生异常:导入错误
DLL加载失败:找不到指定的模块。
文件“C:\Users\ORIB1\Downloads\PageRank master(1)\PageRank master\src\altparse\alt\u htmlparser.py”,第4行,在
导入lxml.html
如何将此软件包安装到解释器或虚拟环境 您使用全局解释器还是虚拟环境?