Public bug reported:
This is the error I get when I run `import eyed3` in python3:
File "./tagger.py", line 2, in <module>
import eyed3
File "/usr/local/lib/python3.5/site-packages/eyed3/__init__.py", line 35,
in <module>
from .utils.log import log #
noqa
File "/usr/local/lib/python3.5/site-packages/eyed3/utils/__init__.py",
line 53, in <module>
_mime_types = MagicTypes()
File "/usr/local/lib/python3.5/site-packages/eyed3/utils/__init__.py",
line 41, in __init__
keep_going=False)
TypeError: __init__() got an unexpected keyword argument 'mime'
This is my Dockerfile
FROM python:3.5
COPY ./requirements.txt /
RUN apt-get -y update \
&& apt-get -y install build-essential python-dev python-eyed3 eyed3 \
&& cd / \
&& yes | pip3 install python-libmagic python-magic \
&& yes | pip3 install -r requirements.txt
RUN apt-get install libmagic-dev
VOLUME ["/app"]
WORKDIR /app
ENTRYPOINT ["sh", "entrypoint.sh"]
** Affects: eyed3 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1749008
Title:
import eyed3 mime error under docker
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eyed3/+bug/1749008/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs