惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
B
Blog RSS Feed
A
About on SuperTechFans
V
Visual Studio Blog
J
Java Code Geeks
U
Unit 42
人人都是产品经理
人人都是产品经理
Martin Fowler
Martin Fowler
Recent Announcements
Recent Announcements
M
MIT News - Artificial intelligence
IT之家
IT之家
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
C
Check Point Blog
博客园 - 叶小钗
P
Proofpoint News Feed
Microsoft Security Blog
Microsoft Security Blog
B
Blog
S
SegmentFault 最新的问题
Microsoft Azure Blog
Microsoft Azure Blog

博客园 - 白沙河

axure 用中继器实现下拉多选框 excel 常用全局变量 Oracle 10进制转36进制 概念数据模型设计与逻辑数据模型设计、物理数据模型设计的关系 does not support ASP.NET compatibility 错误 Oracle日志文件管理与查看 oradmin相关用法 Oracle Standby Database 实现方案 c# 调用zebra打印指令 打印到USB端口 win2008 64位 + oracle11G 64位 IIS7.5 配置WEBSERVICE VISIO 2007 修改形状默认字体 自定义模具 c# 解决IIS写Excel的权限问题 EXTJS gridpanel 动态设置表头 vs2008 连接 vss2005 出现 analyze utility 错误的解决方法 WPF CANVAS 内形状的margin为负值时定位不正确的问题 韶关旅游攻略 extjs 文件上传对话框显示后,页面出现空白的问题 IE8不能上网的问题 一些事件的评论
win10 x64 python3.6 pycharm 安装statsmodels
白沙河 · 2018-04-16 · via 博客园 - 白沙河

在pycharm下,安装statsmodels,会出现需要vc++14.0的错误提示。

这时可以到网站

下载statsmodels‑0.8.0‑cp36‑cp36m‑win_amd64.whl

注意将文件拷贝到pycharm的工程下pythone.exe目录

打开CMD窗口,切换到pycharm的工程下pythone.exe所在的目录

cd C:\Users\用户名\PycharmProjects\untitled\venv\Scripts>

然后用pip install statsmodel 命令进行安装。

注意一定要切换到pycharm的工程下的python.exe目录。否则会用path变量中,对应的python.exe进行安装。在pycharm工程文件中,还是找不到statsmodels包。

需要依赖的包:

statsmodels 0.8 was tested with the following minimal version requirements. However, some features require more recent versions.

  • Python >= 2.6, including Python 3.x
  • NumPy >= 1.6
  • SciPy >= 0.11
  • Pandas >= 0.12
  • Patsy >= 0.2.1
  • Cython >= 0.24 is required to build the code from github but not from a source distribution. Earlier versions may work, although you must use Cython >= 0.20.1 if you’re on Python 3.4
  • wheel(这个是安装whl文件需要的?)