ppwwyyxx / speaker-recognition

A Speaker Recognition System
Apache License 2.0
675 stars 274 forks source link

adding two more dependencies: tzdata and python-scipy #29

Closed hudsantos closed 7 years ago

hudsantos commented 7 years ago

Both were necessary while building this docker image.. Issue 1: dpkg-query: package 'tzdata' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. /usr/sbin/dpkg-reconfigure: tzdata is not installed The command '/bin/sh -c rm /etc/localtime && echo "Australia/Sydney" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata' returned a non-zero code: 1

Issue 2: ImportError: No module named scipy.linalg Solutions: RUN apt-get install -y tzdata python-scipy

qacollective commented 7 years ago

Hi,

Yes I also received the import scipy.linalg error when attempting to re-build this docker image last night. I found another way to fix it was breaking up the python package install commands rather than having them all in a single command. That shouldn't change things, but it did! Unfortunately, that results in a lot of layers being added to the docker image which I'm trying to avoid. So thanks for that pickup - I'll try it that way, but I'm sure I've received the scipy.linalg imoprt error before when I had python-scipy installed so I'm scratching my head a bit!

Nice one on the tzdata - although I wasn't getting that error - so again, I'm wondering what our differences are. Potentially different base ubuntu image? Hmm ...

hudsantos commented 7 years ago

on tzdata, seems what you said... thanks.

hudsantos commented 7 years ago

And about docker image size: 1.2 Gb mine after all updates and dependencies.. / gone 100% heheh