在python3.6.4中安装statsmodel

2024-10-01 07:17:37 发布

您现在位置:Python中文网/ 问答频道 /正文

我无法在python中安装statsmodel…在Windows10中,64位

  1. 我已经python3.6.4 version将所有模块更新到最新版本 包括pip
  2. 安装了cython最新版本
  3. 安装visual studio 14.0,安装mingw 64 设置ver: 7.3.0; Architecture:x86_64; Threads:posix; Exception:sjlj; Build version:0
  4. 添加C:\Program Files\mingw-w64\x86_64-7.3.0-posix-sjlj-rt_v5-rev0\mingw64\bin到 环境变量设置中的路径
  5. 复制并粘贴python36.dllC:\Program Files\mingw-w64\x86_64-7.3.0-posix-sjlj-rt_v5-rev0\mingw64\lib
  6. cfg文件中添加了distutils.cfg[build]; compiler = mingw32; [config];compiler = mingw32。并粘贴在lib\distutils中\分布.cfg你知道吗
  7. {cd13}用于安装
  8. 但是我得到了error: don't know how to compile C/C++ code on platform 'nt' with 'mingw64' compiler这个错误

有人能帮我在python3.6.4中安装statsmodel吗。。。你知道吗


Tags: 版本compilerversionfilesprogramcfgx86posix