错误:微软Visual C++ 10是必需的(无法找到)vcvarsall.bat公司). 在Windows 10 64bi上安装Scrapy时

2024-05-16 23:16:58 发布

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

我正在安装Scrapy。在

我得到了这个错误。我知道有很多问题存在,但没有一个解决办法对我有效。在

    building 'twisted.test.raiser' extension
    error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).

    ----------------------------------------
Command "c:\python34\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Mani\\AppData\\Local\\Temp\\pip-build-eav78sdn\\Twisted\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Mani\AppData\Local\Temp\pip-19_gmj4b-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Mani\AppData\Local\Temp\pip-build-eav78sdn\Twisted\

我把这些东西装在电脑里了

enter image description here

我有系统变量名称:值为VS100COMNTOOLS:VS140COMNTOOLS

我还在OpenSSL-Win64中安装了OpenSSL,并将其添加到WindowsPATH

我还安装了Microsoft Visual C++ Compiler for Python 2.7。在

我该怎么办?我尝试过所有的解决方案,但没有一个有效。在


Tags: pipbuildlocaltwistederrorrecordusersappdata
1条回答
网友
1楼 · 发布于 2024-05-16 23:16:58

我让它工作了。在

<>通常需要非常特殊的Visual Studio C++编译器版本。在这种情况下,按照下面的步骤,在{EM>“微软Visual C++ 10独立:Windows SDK 7.1”< EEM >中执行步骤,以获得扭曲运行(这是在这种情况下正在拧紧的包)

如果这不起作用,你可以找到非官方的轮子here(了解更多关于轮子的信息here

下载正确的轮子(在本例中,是扭曲的)和follow these instructions to install it.

希望这有帮助。在

相关问题 更多 >