Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

could not determine kind of name for C.PyImport_GetModule #35

Open
wtyj112 opened this issue Oct 19, 2020 · 2 comments
Open

could not determine kind of name for C.PyImport_GetModule #35

wtyj112 opened this issue Oct 19, 2020 · 2 comments

Comments

@wtyj112
Copy link

wtyj112 commented Oct 19, 2020

Describe what happened:
i try to build code
stop here: vendor/github.com/DataDog/go-pyhon3/import.go:125:14 could not determine kind of name for C.PyImport.GetModule

Describe what you expected:

i install python3-devel.x86_64

Steps to reproduce the issue:

@christian-korneck
Copy link
Contributor

christian-korneck commented Nov 5, 2020

i install python3-devel.x86_64

you also need to have the pkg-config tool installed and point the PKG_CONFIG_PATH env var to a dir with a python3.pc file. The Python version needs to be exactly Python 3.7 (your Linux distro might ship a different version by default).

@christian-korneck
Copy link
Contributor

christian-korneck commented Nov 5, 2020

also check: #19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants