没有名为“pmdarima”的模块

Yiz*_*zzi 6 python import jupyter jupyter-notebook pmdarima

我从远程访问中使用 jupyter 笔记本,并希望为 auto_arima 导入 pmdarima 以选择 arima 模型。如何通过远程访问安装 pmdarima?

导入 auto_arima 包

from pmdarima import auto_arima
Run Code Online (Sandbox Code Playgroud)

结果:

ModuleNotFoundError: No module named 'pmdarima'
Run Code Online (Sandbox Code Playgroud)

cer*_*ais 10

您可以!pip install pmdarima在 jupyter 单元中进行操作,并且它应该在运行 jupyter 服务器并在其中安装 python 的任何位置安装软件包。