Skip to content

Instantly share code, notes, and snippets.

How to compile OpenCV 2 for Python 2.7 64-bit on Windows

Step 1 - Install Microsoft Visual C++ Compiler for Python 2.7

First of all, download and install Microsoft Visual C++ Compiler for Python 2.7 from the Microsoft download page


Step 2 - Install CMake

Install CMake with the binary installer for Windows x64 on the CMake download page..

#!/usr/bin/env python3
import os
import sys
import json
import base64
import boto3
from botocore.client import Config
def main():
with open(sys.argv[1]) as file:
import os
import subprocess
import stat
import shutil
from git import Repo
def main(event, lambda_context):