![](/img/trans.png)
[英]How to fix this error while using pandas profiling in jupyter notebook
[英]How to fix error with importing skforecast using Jupyter
当我在 Jupyter 中使用pip install skforecast
时,安装成功完成。
接下来,当我使用from skforecast.ForecasterAutoreg import ForecasterAutoreg
时,出现以下错误:
ModuleNotFoundError:没有名为“skforecast”的模块
我已经为文档中的所有 3 个建议安装尝试了 pip 和 pip3: https://joaquinamatrodrigo.github.io/skforecast/0.4.3/index.html
任何有关如何解决此问题的建议将不胜感激。
尝试从虚拟环境运行 jupyter 时遇到了同样的问题。
我认为这与 kernel 有关,但无论如何,按照https://www.linkedin.com/pulse/how-use-virtual-environment-inside-jupyter-lab-sina-khoshgoftar中提出的方法解决了我的问题. 正如您所描述的那样,它不是您确切问题的解决方案,但也许可以提示您正确的方向,因为没有其他响应。
sklearn 有时也会出现同样的问题。
尝试安装旧版本,它对我有用。
pip install skforecast==0.4.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.