Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importerror: util #9

Closed
tacoe opened this issue Oct 21, 2015 · 2 comments
Closed

importerror: util #9

tacoe opened this issue Oct 21, 2015 · 2 comments
Assignees

Comments

@tacoe
Copy link

tacoe commented Oct 21, 2015

when I have:

from pluginbase import PluginBase
from pyechonest import config
from pyechonest import song

I get

Traceback (most recent call last):
  File "partyled.py", line 9, in <module>
    from pyechonest import song
  File "/usr/local/lib/python2.7/site-packages/pluginbase.py", line 404, in plugin_import
    fromlist, level)
  File "build/bdist.macosx-10.10-x86_64/egg/pyechonest/song.py", line 12, in <module>
  File "/usr/local/lib/python2.7/site-packages/pluginbase.py", line 404, in plugin_import
    fromlist, level)
ImportError: No module named util

however if I change the order to

from pyechonest import config
from pyechonest import song
from pluginbase import PluginBase

things work fine. Given the order in which things override, I'm inclined to suspect of PluginBase of doing something weird here.

@phretor
Copy link

phretor commented Nov 19, 2015

This seems related to #10 (if not the same)

@zeroSteiner
Copy link
Collaborator

I was able to reproduce this with pyechonest==9.0.0 / pluginbase==0.3 and have confirmed that it (like #10) is also a duplicate of #5 which has been fixed and closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants