title: Failed to build pycocotools
body: <p>I am new to machine learning and I am trying to download the requirements for a repo using</p>
  <pre><code>pip install -r requirements.txt
  </code></pre>
  <p>I am currently using Anaconda (3.7) version 2020.02. All the other requirements have been satisfied, this is the error I am getting:</p>
  <pre><code>Building wheels for collected packages: pycocotools
    Building wheel for pycocotools (setup.py) ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\Hp\anaconda3\envs\wob1\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\Hp\\AppData\\Local\\Temp\\pip-req-build-mfm5emhp\\PythonAPI\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\Hp\\AppData\\Local\\Temp\\pip-req-build-mfm5emhp\\PythonAPI\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' bdist_wheel -d 'C:\Users\Hp\AppData\Local\Temp\pip-wheel-g2bhmm6i'
         cwd: C:\Users\Hp\AppData\Local\Temp\pip-req-build-mfm5emhp\PythonAPI
    Complete output (22 lines):
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.8
    creating build\lib.win-amd64-3.8\pycocotools
    copying pycocotools\coco.py -&gt; build\lib.win-amd64-3.8\pycocotools
    copying pycocotools\cocoeval.py -&gt; build\lib.win-amd64-3.8\pycocotools
    copying pycocotools\mask.py -&gt; build\lib.win-amd64-3.8\pycocotools
    copying pycocotools\__init__.py -&gt; build\lib.win-amd64-3.8\pycocotools
    running build_ext
    cythoning pycocotools/_mask.pyx to pycocotools\_mask.c
    C:\Users\Hp\anaconda3\envs\wob1\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\Hp\AppData\Local\Temp\pip-req-build-mfm5emhp\PythonAPI\pycocotools\_mask.pyx
      tree = Parsing.p_module(s, pxd, full_module_name)
    building 'pycocotools._mask' extension
    creating build\temp.win-amd64-3.8
    creating build\temp.win-amd64-3.8\common
    creating build\temp.win-amd64-3.8\Release
    creating build\temp.win-amd64-3.8\Release\pycocotools
    C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.26.28801\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\Hp\anaconda3\envs\wob1\lib\site-packages\numpy\core\include -I../common -IC:\Users\Hp\anaconda3\envs\wob1\include -IC:\Users\Hp\anaconda3\envs\wob1\include &quot;-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.26.28801\include&quot; &quot;-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um&quot; &quot;-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt&quot; &quot;-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared&quot; &quot;-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um&quot; &quot;-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt&quot; &quot;-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt&quot; /Tc../common/maskApi.c /Fobuild\temp.win-amd64-3.8\Release\../common/maskApi.obj -Wno-cpp -Wno-unused-function -std=c99
    cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
    ----------------------------------------
    ERROR: Failed building wheel for pycocotools
    Running setup.py clean for pycocotools
  Failed to build pycocotools
  </code></pre>
  <p>I have tried other suggested solutions and am able to import pycocotools in the terminal and I have Microsoft Visual Studio. Any help will be appreciated, thanks.</p>