Package **** was not found in the pkg-config search path._空大白-优快云博客
st$ go get github.com/sbinet/go-python
# pkg-config --cflags -- python-2.7
Package python-2.7 was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-2.7.pc'
to the PKG_CONFIG_PATH environment variable
No package 'python-2.7' found
pkg-config: exit status 1
test@ubuntu:~/gopath/src/test$
安装python2.7
ubuntu安装python_sun007700的专栏-优快云博客
st$ locate python-2.7.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/python-2.7.pc
test@ubuntu:~/gopath/src/test$
u:~$ go get github.com/sbinet/go-python
test@ubuntu:~$
成功