Python Embedded Interpreter ...... missing [SOLVED]

Moderator: Forum moderators

Post Reply
User avatar
Jasper
Posts: 1589
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 674 times
Been thanked: 357 times

Python Embedded Interpreter ...... missing [SOLVED]

Post by Jasper »

Hi all

I am having difficulty with compiling an application as it states that it cannot find a Python Embedded Interpreter

I have looked in the PPM and there is no application with that name.

Some advice would be welcome!! :thumbup:

Image

Last edited by Jasper on Sun Jan 21, 2024 8:00 am, edited 1 time in total.
User avatar
Keef
Posts: 249
Joined: Tue Dec 03, 2019 8:05 pm
Has thanked: 3 times
Been thanked: 66 times

Re: Python Embedded Interpreter ...... missing

Post by Keef »

It took a bit of squinting, but the screenshot says "could not build..." rather than "could not find" the Python embedded interpreter. There are other errors reporting missing items before the Python embedded interpreter one, so I'd work on those first.
What is it you are trying to compile? Is it tbd? I tried it on Fatdog and it worked first time.

User avatar
rockedge
Site Admin
Posts: 5711
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1990 times
Been thanked: 2097 times
Contact:

Re: Python Embedded Interpreter ...... missing

Post by rockedge »

@Jasper
In F96-CE_4 you will need to install the package pybind11-dev_2.4.3 and python3-pybind11_2.4.3 . This will allow python code to be embedded with an python interpreter into and compiled into a C/C++ code build.

Screenshot(4).jpg
Screenshot(4).jpg (60.68 KiB) Viewed 279 times

Embedding Python in Your C Programs

User avatar
Jasper
Posts: 1589
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 674 times
Been thanked: 357 times

Re: Python Embedded Interpreter ...... missing

Post by Jasper »

@Keef

Yes, it is tbd

I was attempting to compile Pipewire & PulseAudio.

Strange how the image looks small for you, maybe the image hosting site reduces the size (?) taken on a 1920x1080 monitor.

@rockedge

Thank you for the tip!! :thumbup:

Post Reply

Return to “Compiling”