Skip to content

Instantly share code, notes, and snippets.

@yijia2413
Created March 24, 2018 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yijia2413/612474dfd2300b34d0a4a749df25a6c3 to your computer and use it in GitHub Desktop.
Save yijia2413/612474dfd2300b34d0a4a749df25a6c3 to your computer and use it in GitHub Desktop.
Try setting C_INCLUDE_PATH (for C header files) or CPLUS_INCLUDE_PATH (for C++ header files).
As Ciro mentioned, CPATH will set the path for both C and C++.
export CPLUS_INCLUDE_PATH=/usr/include/python2.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment