Caffe2 - Python API
A deep learning, cross platform ML framework
Variables
get_python_cmake_flags Namespace Reference

Module scripts.get_python_cmake_flags. More...

Variables

 version = platform.python_version()
 
 file
 
string flags = ''
 
 inc = sysconfig.get_python_inc()
 
 lib = sysconfig.get_config_var("LIBDIR")
 

Detailed Description

Module scripts.get_python_cmake_flags.

Use this script to find your preferred python installation.

You can use the following to build with your preferred version of python if your installation is not being properly detected by CMake.

mkdir -p build && cd build cmake $(python ../scripts/get_python_libs.py) .. make