python - 无法在 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
有什么能帮我摆脱这个吗?
解决方案
推荐阅读
- mysql - 如何从 Laravel 项目中删除所有迁移但保留表和字段
- javascript - 我正在尝试为 Google Sign-in api 调用 signOut() 函数,但不断收到错误“未定义 gapi”
- sql - 创建一个包含返回记录的存储过程
- php - 刀片中的 Laravel 5.8 在 @php 指令中看不到来自 @foreach 的变量
- spring-boot - 如何使用 resttemplate 和 springboot 捕获自定义异常?
- linux - 我正在编辑我的 .bashrc 文件以备份历史记录,但它没有按预期工作
- c++ - gcc vs clang:静态转换时在未使用的模板专业化中解析了 noexcept
- mule4 - 有没有人在 Mule 4, Anypoint studio 7.3.2 中遇到过这个错误 - “执行脚手架时出错”
- java - 在单例对象中克隆某些东西
- c# - 不同的安装文件夹取决于“使用共享运行时”选项选择