Eigenstate / vmd-python

Installable VMD as a python module
Other
129 stars 24 forks source link

setup.py build error on macOS 10.13+ #19

Open fredericpoitevin opened 5 years ago

fredericpoitevin commented 5 years ago

Hi, compilation does not work on macOS 10.13+ with error PythonTextInterp.C:30:10: fatal error: 'Python/errcode.h' file not found #include "Python/errcode.h"

Quick fix was to comment out a few lines around l.30 invmd-python/vmd/vmd_src/src/PythonTextInterp.C:

//#if defined(__APPLE__)
// use the Apple-provided Python framework
//#include "Python/errcode.h"
//#else
#include "errcode.h"
//#endif