how do I set the path to python library for nwchem


Click here for full thread
Clicked A Few Times
I am trying to compile NWCHEM with python but I get this error
gfortran: error: /usr/lib/python2.7/config/libpython2.7.a: No such file or directory

below is my environment

export LARGE_FILES=TRUE
export USE_NOFSCHECK=TRUE
export LIB_DEFINES=-DDFLT_TOT_MEM=16777216
export NWCHEM_TOP=/edfs/users/jacob/softwares/nwchem-6.0-6.3
export MRCC_METHODS=y
export USE_MPI=y
export MPI_LIB=/edfs/users/jacob/softwares/mpich-3.0.4-install/lib
export MPI_INCLUDE=/edfs/users/jacob/softwares/mpich-3.0.4-install/include
export LIBMPI="-lmpichf90 -lmpich -lopa -lmpl -lrt -lpthread"
export NWCHEM_TARGET=LINUX64
export NWCHEM_MODULES="python pnnl"
export PYTHONVERSION=2.7
export PYTHONHOME=/usr
export PYTHONLIBTYPE=a

Thank you