Visual C++ for python failed with exit status 2 when installing divisi2

前端 未结 3 954
日久生厌
日久生厌 2020-12-19 17:32

i am using Python 2.7 on Windows 8.1 46 bit.

I want to install divisi2 https://pypi.python.org/pypi/Divisi2/2.2.5

I have installed NumPy and SciPy which are

3条回答
  •  盖世英雄少女心
    2020-12-19 17:44

    Came across this issue when installing pycocotools on windows 10. Python 2.7 is incompatible or does not support Visual C++ 14 that is required to compile C99 code. This is the reason for the compiling errors (C2065,C4047 etc).

    You need to,

    1. Install Visual Studio 2015 build tools (this will install C++ 14 compiler).
    2. Install a new newer version of Python (3.6 recommended)

    More about Windows Compilers for Python here.

提交回复
热议问题