gpt4 book ai didi

python - Peewee 安装错误 : unable to find vcvarsall. bat - Microsoft server 2012 R2

转载 作者:太空宇宙 更新时间:2023-11-03 15:19:07 24 4
gpt4 key购买 nike

我需要帮助在服务器版本 Microsoft server 2012 R2 上安装 peewee。在此服务器中我需要使用 IIS。

我创建了一个 API,它使用 peewee 来处理远程数据库。在服务器中,我通过 microsolft 平台安装程序安装了 python 3.4.2 和 wgfastgci :

安装Python时,我使用了pip list,我刚刚安装了setuptools和pip。为了安装 peewee 我做了:pip 安装 peewee但我遇到了这个错误:

Peewee install error: unable to find vcvarsall.bat

我尝试执行这些步骤,但没有成功:

当我用 pip 升级 setuptools 时,错误发生了这样的变化:

error : Microsoft Visual c++ 10.0 i srequired. get it with "Microsoft Windows SDK 7.1" : www.microsoft.com/download/details.aspx?id=8279

所以我尝试这样做:

但所有链接均与 Windows Server 2012 R2 不兼容...我不想在服务器中安装 SDK。所以我在微软网站上搜索了其他版本,我得到了这些,但它不起作用。

我需要帮助来解决此错误。

最佳答案

关于python - Peewee 安装错误 : unable to find vcvarsall. bat - Microsoft server 2012 R2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43655422/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com