mlxtend 库在安装 AWS-Sagemaker 后无法在 AWS-Sagemaker 上运行



尽管为Apriori安装了模块"mlxtend"(市场篮分析( 在康达包中并对其进行了更新。

收到以下错误

ModuleNotFoundError Traceback(最近的调用( 最后( 在 (( 中 ----> 1 导入

ModuleNotFoundError:没有名为"mlxtend"的模块

我是 SageMaker 團隊的成員;感謝您諺誌這個服務!

您是否确保在运行代码的同一 conda 环境中安装了 mlxtend ?例如,如果你在"python3"环境下运行你的代码,你可以在该环境中安装mlxtend,使用类似"conda install -n python3 -c conda-forge mlxtend"这样的命令。

最新更新