karolpiczak / EARS

EARS: Environmental Audio Recognition System
MIT License
110 stars 28 forks source link

"Failed building wheel for llvmlite" #4

Open Perprexd opened 7 years ago

Perprexd commented 7 years ago

I'm running into errors with building llvmlite when running the "pip install -r /home/pi/ears/requirements.txt" command. I believe I'm following the steps properly, but I've been held up at this one for a number of separate attempts. Thanks!

2017-10-22-195406_1824x984_scrot 2017-10-22-195423_1824x984_scrot

Also, I think in the "Install Python with required packages:" section, "-add channels" should be "--add channels".

karolpiczak commented 7 years ago

Also, I think in the "Install Python with required packages:" section, "-add channels" should be "--add channels".

Thanks for spotting that. I think I was pasting it directly, but maybe that's not the case.

As to your main issue - I'm not sure what could be causing this. Maybe some dependencies got updated in the meantime and things behave differently. Have you tried which llvm-config? Or maybe: sudo apt-get install llvm?

JakeWho commented 7 years ago

I'm not at the pi at the moment, but I have tried sudo apt-get install llvm without success. I've also tried conda install llvm and conda install llvmlite. One thing I noticed is that in numba 0.32.0 (released in April I think), they upgraded to LLVM 4.0. I'll try an earlier release of numba and see how that goes.

(just noticed that I'm logged into a different account that I didn't know I had.. this is perprexd from before)

karolpiczak commented 7 years ago

That's very possible that something broke on the way, as I was checking it last time in April/May without any problems. If you still encounter difficulties with downgraded versions, at the end of this week I will probably recreate it from scratch on my Pi with current upstream changes and see what's going on.

On Tue, Oct 24, 2017, 18:56 JakeWho notifications@github.com wrote:

I'm not at the pi at the moment, but I have tried sudo apt-get install llvm without success. I've also tried conda install llvm and conda install llvmlite. One thing I noticed is that in numba 0.32.0 http://numba.pydata.org/numba-doc/0.32.0/release-notes.html (released in April I think), they upgraded to LLVM 4.0. I'll try an earlier release of numba and see how that goes.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/karoldvl/EARS/issues/4#issuecomment-339059106, or mute the thread https://github.com/notifications/unsubscribe-auth/AANKQlFkkDK6M1BvpFlX5UbsBGNkReHIks5svha7gaJpZM4QCFWU .

Perprexd commented 7 years ago

I think I've solved the LLVM issue by explicitly calling for librosa version 0.4.2 within the requirements.txt file. However, now when I run the program I get the errors shown below. I should note that I am using a different microphone. 2017-10-25-011352_1824x984_scrot 2017-10-25-011414_1824x984_scrot

Perprexd commented 7 years ago

After pip installing theano and properly configuring my microphone in config.py I'm up and running. Time to train! Thanks for this project!

karolpiczak commented 7 years ago

Great to hear that! Theano has changed status recently to no longer actively developed. Maybe that's why it was dropped from the dependency list in Keras. Thanks, I will amend this in the README.

Perprexd commented 7 years ago

The requirements.txt file should probably be updated to specify librosa==0.4.2. That was what solved the main issue I was running into with llvm/llvmlite.

karolpiczak commented 7 years ago

Hmm... I will look into it. I'm not sure why newer versions would pose a problem.