1. Travis Shirk
  2. eyeD3
  3. Issues
Issue #20 invalid

Case-sensitivity problem in module name

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:

#!python

>>> import eyeD3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/eyeD3/__init__.py", line 89, in <module>
    from .utils.log import log
  File "/Library/Python/2.7/site-packages/eyeD3/utils/__init__.py", line 29, in <module>
    from eyed3 import LOCAL_ENCODING, LOCAL_FS_ENCODING
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.

    Thanks.

  3. Log in to comment