Case-sensitivity problem in module name

Issue #20 invalid
Daniel Serodio
created an issue

I was using eyeD3 0.6.17 and I've just updated to 0.7.1 using "pip install -U eyeD3"

Now when I try to "import eyeD3" I get:

>>> import eyeD3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/eyeD3/", line 89, in <module>
    from .utils.log import log
  File "/Library/Python/2.7/site-packages/eyeD3/utils/", line 29, in <module>
ImportError: No module named eyed3

It seems the problem is the package was installed as "eyeD3" but contains references to "eyed3".

I'm using Mac OS X.

Comments (4)

  1. Travis Shirk repo owner

    0.7 is has a vaastly different API.. This with the python suggestion that modules not contain uppercase letters is why the change happened. Module name will remain 'eyed3' and the project and CLI tool is 'eyeD3'.

  2. Daniel Serodio reporter

    I understand, but the problem is that the module is (partly) named eyeD3, as you can see from the path /Library/Python/2.7/site-packages/eyeD3 in the error above.

    I've just removed and reinstalled eyeD3 and now it installed in /Library/Python/2.7/site-packages/eyed3 and it's working fine.

    It seems the problem is caused by updating it instead of reinstalling. If somehow you could indicate (in the egg's metadata) that it can't be updated, it would be ideal.


  3. Log in to comment