mp3play icon indicating copy to clipboard operation
mp3play copied to clipboard

No module named mp3play

Open GoogleCodeExporter opened this issue 10 years ago • 3 comments

I open the Windows command prompt and try to install mp3play by typing: 
easy_install mp3play

And it says that it finishes, and there are no errors.
Then, when I type import mp3play, it says:
Traceback (most recent call last):
  File "C:\Python26\Music Player\main.py", line 4, in <module>
    import mp3play
ImportError: No module named mp3play

Original issue reported on code.google.com by [email protected] on 12 Sep 2009 at 10:08

GoogleCodeExporter avatar Mar 19 '15 13:03 GoogleCodeExporter

I just copied the raw code from trunk, and saved it. Now it works!

Original comment by [email protected] on 12 Sep 2009 at 10:11

GoogleCodeExporter avatar Mar 19 '15 13:03 GoogleCodeExporter

Okay, now when I run, I get:

Traceback (most recent call last):
  File "C:\Python26\Music Player\main.py", line 4, in <module>
    from mp3play import *
  File "C:\Python26\Music Player\mp3play.py", line 4, in <module>
    from .windows import AudioClip as _PlatformSpecificAudioClip
ValueError: Attempted relative import in non-package

What is happening?

Original comment by [email protected] on 13 Sep 2009 at 2:27

GoogleCodeExporter avatar Mar 19 '15 13:03 GoogleCodeExporter

maybe you should execute setup.py first

zpltys avatar Feb 02 '16 14:02 zpltys