| View previous topic :: View next topic |
| Author |
Message |
reverse
Joined: 20 Feb 2007 Posts: 4
|
Posted: Tue Feb 20, 2007 8:20 am Post subject: confused and frustrated No module named muxer |
|
|
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 |
|
 |
jbors Site Admin

Joined: 12 Nov 2004 Posts: 1675
|
Posted: Tue Feb 20, 2007 9:19 am Post subject: |
|
|
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 |
|
 |
reverse
Joined: 20 Feb 2007 Posts: 4
|
Posted: Wed Feb 21, 2007 1:45 am Post subject: |
|
|
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 |
|
 |
reverse
Joined: 20 Feb 2007 Posts: 4
|
Posted: Wed Feb 21, 2007 9:02 am Post subject: |
|
|
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 |
|
 |
jbors Site Admin

Joined: 12 Nov 2004 Posts: 1675
|
Posted: Wed Feb 21, 2007 9:28 am Post subject: |
|
|
Try
import pymedia.muxer as muxer |
|
| Back to top |
|
 |
jbors Site Admin

Joined: 12 Nov 2004 Posts: 1675
|
Posted: Wed Feb 21, 2007 9:32 am Post subject: |
|
|
| 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 |
|
 |
|