[PD] Can't compile pyext for Python3, Python.h no such file or directory (was: Re: [PD-announce] Deep Learning Models in Pure Data with pyext for Python 3)

Koray Tahiroğlu koray.tahiroglu at gmail.com
Sat Jun 5 08:38:17 CEST 2021


Hi,

Could you open this issue on Github, that could be easier for us to follow and try to solve related issues. I will look at this on Monday.

Best,
Koray

-------------------------------------
M.Koray Tahiroğlu
Department of Media,
Aalto University
School of Arts, Design and Architecture
http://sopi.aalto.fi/
http://dmi.aalto.fi/
https://sopi.aalto.fi/koraytahiroglu/
tel. +358 50 4088441

> Date: Fri, 4 Jun 2021 15:54:22 +0300
> From: Alexandros <adrcki at gmail.com>
> To: Pd-List <pd-list at lists.iem.at>
> Subject: [PD] Can't compile pyext for Python3, Python.h no such file
>    or directory (was: Re: [PD-announce] Deep Learning Models in Pure Data
>    with pyext for Python 3)
> Message-ID: <453c3902-16b4-472e-807c-2d3fec6aaf9c at gmail.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> I initially replied to Koray's mail under [PD-announce], thought this 
> fits the main mailing list better.
> 
> I'm trying to build everything as instructed here 
> https://github.com/SopiMlab/DeepLearningWithAudio/blob/master/utilities/pyext-setup/setup-linux.md 
> 
> 
> Everything is ok until I try to setup pyext. If I type `python build.py` 
> I get this:
> 
> install: cannot stat 'pd-linux/debug-multi/py.pd_linux': No such file or 
> directory
> 
> If I go to pyext-setup/py and type `make CPPFLAGS="-I ../flext/source"` 
> I get this:
> 
> source/pyprefix.h:22:10: fatal error: Python.h: No such file or directory
> 
> The thing is I have both Python3.8 and Python3.9 header files installed 
> in my system in `/usr/include/python3.8/Python.h` and 
> `/usr/include/python3.9/Python.h` respectively. I'm trying to build the 
> whole deep learning project with Python3.8. How can I solve this issue?
> 
> I'm on UbuntuStudio 21.04.
> 
> Thanks
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210605/b6027f8b/attachment.htm>


More information about the Pd-list mailing list