我正在尝试将包 html5lib
导入 Azure Machine Learning
,进入 Execute Python Script
模块 . 这与here类似的问题,但同样的解决方案不起作用......:/
我的步骤到现在为止:
-
我从project website获得了最新版本的
HTML5LIB
包; -
解压缩tar.gz文件并重新压缩为.ZIP文件;
-
将文件作为名为'html5lib.zip'的数据集上载到Azure Studio中; enter image description here
-
将zip文件作为数据集添加到我的实验中并连接到Script Bundle Input; enter image description here
-
运行以下脚本: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 "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 662, in exec_module
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "C:\temp\6d718116a1f549e59a5b96c5d6360911.py", line 22, in <module>
import html5lib
ImportError: No module named 'html5lib'
Process returned with non-zero exit code 1
知道怎么解决这个问题?
提前致谢 .