首页 > 解决方案 > 无法在 python 中安装多变量包

问题描述

我正在尝试导入包:

 from statsmodels.formula.api import ols
 from statsmodels.base.model import Model

但是,我收到一条错误消息:

ImportError:没有名为 multivariate_ols 的模块

什么时候,我尝试使用以下命令使用 pip 安装:

 python -m pip install multivariate_ols

我收到以下错误:

 Could not find a version that satisfies the requirement multivariate_ols (from versions: )   
No matching distribution found for multivariate_ols

我的python版本是:Python 2.7.15rc1

有什么能帮我摆脱这个吗?

标签: pythonpippackageinstallation

解决方案


推荐阅读