sbinet / go-python

naive go bindings to the CPython2 C-API
Other
1.53k stars 138 forks source link

Test kwargs erro on macos #39

Closed wangyanglong closed 8 years ago

wangyanglong commented 8 years ago

Hi,i am runing the test case kw-args/main.go in my macos10.9, and it panic "importing kwargs... 2016/04/16 01:32:29 could not import 'kwargs' exit status 1 " can you give me some adices,thanks!

wangyanglong commented 8 years ago

i fix this issue by: python.PyRun_SimpleString("import sys") python.PyRun_SimpleString("sys.path.append('/Users/wangyanglong/go/src/github.com/sbinet/go-python/tests/kw-args')")