bear in mind it could be an install problem with my Python or something. This isn't quite the first program I run in Python, but not so far off ...

It is straneg though because the main package but not the sub modules are loaded. If you can tell me any specific things I could do to try to track the problem, that'd be great.

thanks

D


On 3/16/05, Dmitry Borisov <[EMAIL PROTECTED]> wrote:
It is weird.
Never got complains like that. Just checked the latest 1.3.5.0-pre2 for Python2.4 and everything works as expected.
Anyone else seeing the same problem ?
Dmitry/
----- Original Message -----
Sent: Thursday, March 16, 2006 9:20 AM
Subject: [Pymedia-users] pymedia on win32 - import problems

Hi

I'm a python newb (lots of perl formerly) that is looking at making a win32 audio recording app, so pymedia here I come ...

Downloaded and installed with no problem - using Python 2.4

Using PythinWin IDE.

>>> import pymedia
>>> dir(pymedia)
['__builtins__', '__doc__', '__file__', '__name__']

Trying to run voice_recorder.py (or most other examples) gives errors like:

   import pymedia.audio.sound as sound
ImportError: No module named audio.sound

though, In other words, I'm able to import pymedia, but not the submodules - even though

__all__= [ 'muxer', 'audio', 'video', 'removable' ]
import muxer, audio, video, removable

is in the __init.py__ for pymedia

I'm even able to browse the modules in the object browser.
WHat gives? This has to be a silly python newbie config problem, but why isn't __all__ being seen?

Thanks

Daniel


--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131



--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131

Reply via email to