-
Notifications
You must be signed in to change notification settings - Fork 140
build error on debian #40
Comments
Here's a Debian 10 Dockerfile example that works for me (even if you don't use Docker you should find the relevant parts in there):
( quickstart:
Hope this helps. |
Hi, @christian-korneck , thank you very much for your patient. I am very appreciate for your help |
hi @YangChuanMakeSense , for building python did you use I've split this into three build steps. The first one builds python from src, the second one builds the go program against our custom python and the third one is for running the compiled Go program (a more minimal container with no build tools installed and both our go program and our custom python in
To try:
|
@christian-korneck thank you very much, |
hi @christian-korneck ,i had the same problem ,and i used pyenv to install the python3.7 with options configure --enable-shared.but it still doesnt work. i can't use docker. thanks for your help~ |
@floki2020 this works for me on Ubuntu 20.04:
and you should see output
(sorry if it's a bit clunky, copied from an ssh client on my phone. But hopefully it should get you an idea how to get it to work?) |
Describe what happened:
I got the following error when I compile the code
I've installed python3.7.6 and
pkg-config --cflags -- python3
works fineDescribe what you expected:
No error
Steps to reproduce the issue:
The text was updated successfully, but these errors were encountered: