in

error installing pycocotools on windows 10 [duplicate]


trying to install pycocotools on windows 10 with this command

pip install git+https://github.com/philferriere/cocoapi.git#egg=pycocotools^&subdirectory=PythonAPI

Getting this error

Running setup.py install for pycocotools ... error
ERROR: Command errored out with exit status 1:
 command: 'C:UserstahseAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UserstahseAppDataLocalTemppip-install-mfa2au2jpycocotools_d30ec01c3a424919a7b7acbb341b39c9PythonAPIsetup.py'"'"'; __file__='"'"'C:UserstahseAppDataLocalTemppip-install-mfa2au2jpycocotools_d30ec01c3a424919a7b7acbb341b39c9PythonAPIsetup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UserstahseAppDataLocalTemppip-record-hpe_vmn_install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:UserstahseAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39Includepycocotools'
     cwd: C:UserstahseAppDataLocalTemppip-install-mfa2au2jpycocotools_d30ec01c3a424919a7b7acbb341b39c9PythonAPI
Complete output (13 lines):
running install
running build
running build_py
creating build
creating buildlib.win-amd64-3.9
creating buildlib.win-amd64-3.9pycocotools
copying pycocotoolscoco.py -> buildlib.win-amd64-3.9pycocotools
copying pycocotoolscocoeval.py -> buildlib.win-amd64-3.9pycocotools
copying pycocotoolsmask.py -> buildlib.win-amd64-3.9pycocotools
copying pycocotools__init__.py -> buildlib.win-amd64-3.9pycocotools
running build_ext
building 'pycocotools._mask' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------

ERROR: Command errored out with exit status 1: ‘C:UserstahseAppDataLocalMicrosoftWindowsAppsPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘C:UserstahseAppDataLocalTemppip-install-mfa2au2jpycocotools_d30ec01c3a424919a7b7acbb341b39c9PythonAPIsetup.py'”‘”‘; file='”‘”‘C:UserstahseAppDataLocalTemppip-install-mfa2au2jpycocotools_d30ec01c3a424919a7b7acbb341b39c9PythonAPIsetup.py'”‘”‘;f = getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(file) if os.path.exists(file) else io.StringIO(‘”‘”‘from setuptools import setup; setup()'”‘”‘);code = f.read().replace(‘”‘”‘rn'”‘”‘, ‘”‘”‘n'”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec'”‘”‘))’ install –record ‘C:UserstahseAppDataLocalTemppip-record-hpe_vmn_install-record.txt’ –single-version-externally-managed –user –prefix= –compile –install-headers ‘C:UserstahseAppDataLocalPackagesPythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0LocalCachelocal-packagesPython39Includepycocotools’ Check the logs for full command output.

any idea how to fix this?



Source: https://stackoverflow.com/questions/70540303/error-installing-pycocotools-on-windows-10

GKE Private cluster blocking TLS handshake on port 9090 from inside pod

Archive of Sieberrsec CTF 3.0