Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

"Failed building wheel for llvmlite" #4

Open
Perprexd opened this issue Oct 22, 2017 · 8 comments
Open

"Failed building wheel for llvmlite" #4

Perprexd opened this issue Oct 22, 2017 · 8 comments
Labels

Comments

@Perprexd
Copy link

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
Copy link
Owner

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
Copy link

JakeWho commented Oct 24, 2017

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
Copy link
Owner

karolpiczak commented Oct 24, 2017 via email

@Perprexd
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants