我正在尝试将包html5lib导入Azure Machine Learning到Execute Python Script模块中。这是一个类似于here的问题,但相同的解决方案不起作用。。。:/
我到目前为止的步骤:我从project website获得了HTML5LIB包的最新版本
解压焦油.gz文件并重新压缩为.zip文件
将文件作为名为“html5”的数据集上载到Azure Studio中库.zip';
enter image description here
将zip文件作为数据集添加到我的实验中,并连接到脚本包输入;
enter image description here
然后,我得到了一个错误:Error 0085: The following error occurred during script evaluation, please view the output log for more information:
---------- Start of error message from Python interpreter ----------
Caught exception while executing function: Traceback (most recent call last):
File "C:\server\invokepy.py", line 189, in batch
mod = import_module(moduleName)
File "C:\pyhome\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 662, in exec_module
File "", line 222, in _call_with_frames_removed
File "C:\temp\6d718116a1f549e59a5b96c5d6360911.py", line 22, in
import html5lib
ImportError: No module named 'html5lib'
Process returned with non-zero exit code 1
你知道我该怎么修吗?你知道吗
提前谢谢。你知道吗