InDashPC.org Forum Index InDashPC.org
In Dash Car PC forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

confused and frustrated No module named muxer

 
Post new topic   Reply to topic    InDashPC.org Forum Index -> Software
View previous topic :: View next topic  
Author Message
reverse



Joined: 20 Feb 2007
Posts: 4

PostPosted: Tue Feb 20, 2007 8:20 am    Post subject: confused and frustrated No module named muxer Reply with quote

Hi all
My first post here and I need your help regarding installing pycar.
I am on winxp and really frustrated after trying xxx times and xxx methods.

The reason I need pycar is due error that I get when importing
import pymedia.video.muxer as muxer
import pymedia.video.vcodec as vcodec

error
Quote:
import pymedia.video.muxer as muxer
ImportError: No module named muxer


I read somewhere that I need pycar...???? do I need to install the whole pycar apps or a perhaps a module out of it?

I tried every packet from sourceforge pycar-1.2.3.0-pre2.zip / iso but I am still not getting it right.

also tried pycar-1.3.0.2f.iso with virtualbox

What I am looking for is setup.py with required modules.

Where can I download them? I browsed the CVS but not sure which files are needed.

is there any executables?

kind regards
Back to top
View user's profile Send private message
jbors
Site Admin


Joined: 12 Nov 2004
Posts: 1675

PostPosted: Tue Feb 20, 2007 9:19 am    Post subject: Reply with quote

Try car2linux skin which is also published on sf.net.
The older skins need changes:
import pymedia.video.muxer as muxer -> import pymedia.muxer as muxer
There is deepsea skin posted here some time ago where all those changes been done already. Let me know if you can't find it...
Back to top
View user's profile Send private message
reverse



Joined: 20 Feb 2007
Posts: 4

PostPosted: Wed Feb 21, 2007 1:45 am    Post subject: Reply with quote

Hello Jbors

import pymedia.muxer as muxer throws another error
Quote:
from recode_video import RecordVideo
ImportError: No module named recode_video


code preview
Code:
import sys, thread, time, traceback, Queue, os
import optparse
import pymedia
import pymedia.muxer as muxer
#import pymedia.video.muxer as muxer
import pymedia.video.vcodec as vcodec
import string
from optparse import OptionParser
from recode_video import RecordVideo

if os.environ.has_key( 'PYCAR_DISPLAY' ) and os.environ[ 'PYCAR_DISPLAY' ]== 'directfb':
    import pydfb as pygame
    YV12= pygame.PF_YV12
else:
    import pygame
    YV12= pygame.YV12_OVERLAY

SEEK_SEC= 10


I have just downloaded car2linux-1.3.7.2 and get error while unzipping
Quote:
! C:\Dokumente\car2linux-1.3.7.2.tar.gz: Cannot open \home\bors\car2pc\linux-2.6.16.1 (lib\modules\2.6.16.1\source --> \home\bors\car2pc\linux-2.6.16.1)
! C:\Dokumente\car2linux-1.3.7.2.tar.gz: Symbolic link points to missing file
! C:\Dokumente\car2linux-1.3.7.2.tar.gz: Cannot open \home\bors\car2pc\linux-2.6.16.1 (lib\modules\2.6.16.1\build --> \home\bors\car2pc\linux-2.6.16.1)
! C:\car2linux-1.3.7.2.tar.gz: Symbolic link points to missing file


I am still not getting the point!!!

1/ I am on win32...why I should download car2linux?
2/ Beside unzipping error, how would I run / install / setup?
the files are in pyc.
3/ when muxer is part of pymedia, why the error? and why pycar?

scuse me , if I ask here too much confusing questions.

note: I have the newest version of pymedia and pygame installed.

regards
reverse
Back to top
View user's profile Send private message
reverse



Joined: 20 Feb 2007
Posts: 4

PostPosted: Wed Feb 21, 2007 9:02 am    Post subject: Reply with quote

Did anyone succeded
import pymedia.video.muxer as muxer
import pymedia.video.vcodec as vcodec

after installing pymedia 1.3.7 without getting error ???
Quote:
import pymedia.video.muxer as muxer
ImportError: No module named muxer


thanks
Back to top
View user's profile Send private message
jbors
Site Admin


Joined: 12 Nov 2004
Posts: 1675

PostPosted: Wed Feb 21, 2007 9:28 am    Post subject: Reply with quote

Try
import pymedia.muxer as muxer
Back to top
View user's profile Send private message
jbors
Site Admin


Joined: 12 Nov 2004
Posts: 1675

PostPosted: Wed Feb 21, 2007 9:32 am    Post subject: Reply with quote

reverse wrote:
Hello Jbors

import pymedia.muxer as muxer throws another error
Quote:
from recode_video import RecordVideo
ImportError: No module named recode_video


Hmm, I can't find any reference to recode_video in pymedia code. It is a separate example. Can you please double check please ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    InDashPC.org Forum Index -> Software All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group