You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nuitka exe build from av library, building success but got No module named 'av.buffer' #1120
I'm writing a code to transfer a file using the aiortc module.
aiortc imports av package for video or audio streaming.
I successfully made the code and in the python virtual environment, the code transfer the datastream without any issue.
But once I built the exe using nuitka, I got the following error from running the exe console:
...
File "av\audio\frame.pyx", line 1, in init av.audio.frame
File "av\frame.pyx", line 1, in init av.frame
ModuleNotFoundError: No module named 'av.buffer'
...
my environment is :
nuitka : 1.5.6
aiortc : 1.5.0
av : 9.2.0
I also got a bug "no module named av.audio.codeccontext" , when I use "av.open()" to open a file.
I build my exe program for Windows10 with nuitka, too.
Do you know how to fix those bugs?
@CheshireCC Check the Nuitka Issue : Nuitka/Nuitka#2192 (comment)
Thank You very much!
I checked this issue ,it's seemed that thsi bug is planed to be fixed in version 1.6, but my Nuitka is version 1.7.5 now, why this bug come back again?
I had try to use factory version nuitka, but not work,
It just still "no module named av.logging" "no module named av.xxxxx"
should I use nuitka 1.6?
Yes, I think it should be great to use nuitka 1.6 if it is required to build urgently.
But it would be great to open a new issue on Nuitka git to solve the issue in the latest versions as well.
Activity
CheshireCC commentedon Jul 24, 2023
I also got a bug "no module named av.audio.codeccontext" , when I use "av.open()" to open a file.
I build my exe program for Windows10 with nuitka, too.
Do you know how to fix those bugs?
AnhTalent commentedon Jul 24, 2023
@CheshireCC Check the Nuitka Issue :
Nuitka/Nuitka#2192 (comment)
CheshireCC commentedon Jul 24, 2023
AnhTalent commentedon Jul 24, 2023
Yes, I think it should be great to use nuitka 1.6 if it is required to build urgently.
But it would be great to open a new issue on Nuitka git to solve the issue in the latest versions as well.
Btw, what is your av version?
CheshireCC commentedon Jul 24, 2023
@AnhTalent
I tried av==9.2.0 and av == 10.0.0
they all not work
CheshireCC commentedon Jul 24, 2023
@AnhTalent
Do you Know what?
I fixed this bug with add codes to
av.__init__.py:for my poject, I do like this :
then , all error like
no module named av.loggingdisappeared.It looks like a bug with
PyAV......albao666 commentedon Aug 6, 2023
this works for me, thx!