-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing package: llvmlite #33
Comments
Note: please complete the issue template properly in future. I have filled it out for you. Here's the output for the build attempt on Raspbian Stretch: https://paste.debian.net/1091345/ |
Update here: numba/llvmlite#314 |
Closing due to no activity. |
Hello! 🙂 I believe I've got a solution to allow llvmlite to be installed - I've only tested it on an RPI 4 with Feb 2020 release of Buster Lite so far but I was able to do it as follows:
(noting that it installs version 7, which is listed as compatible with llvmlite here: Compatibility)
which chugs away for a while until it successfully installed (output details below) Not sure if it makes a difference but I ran this within a virtual environment. @bennuttall Does that help? If there's more you'd like me to try I might be able to (I've got some earlier RPis around so could give it a whirl on another one in the next week or so, just to confirm it works more widely). And let me know if I should open a new issue for this (or can this one just be re-opened?) Output from pip:
|
Maybe this isn't working. Seem to be running into a problem with importing numba, so perhaps llvmlite isn't working despite the installation message. I'd better do a bit more research first... sorry! EDIT: the problem with numba was resolved by changing the version of numpy I had installed (1.15.4->1.16.1), so seemingly unrelated to my proposed fix for llvmlite |
Hi @bennuttall - I expect you're busy, but when you get a moment, can this be re-opened? I believe my approach means installing llvmlite can now work - as I haven't helped resolve one of these piwheel issues before, please bear with me, but if there's anything additional I should try or explain regarding the above, do let me know. |
here's the build output for 0.32.0 on buster:
|
Thanks. There's a line about half way down that indicates it is having a problem finding llvm-config:
So if, as detailed above, LLVM is installed first and then the environment variable is set as: LLVM_CONFIG=/usr/bin/llvm-config |
Hi @bennuttall is there anything in particular I should do to help this along? Is there some way I could get in touch to discuss it more? Happy to put in some effort to resolve this, just want to know I'm directly it properly 🙂 |
Hmm we don't currently have a mechanism for setting environment variables. The whole system is automated so obviously it's not a case of running a single command. |
Ah, I hadn't appreciated that, but I can see why that would be a problem! Does that kind of mechanism seem completely out of scope or might it have benefit in enough cases to warrant looking into it further? It sounds like I need to read up a bit more on how the piwheels process works behind the scenes! |
Maybe. It certainly complicates things. Will need to run it by @waveform80.
Take a look at the FAQs here: https://www.piwheels.org/faq.html and the docs: https://piwheels.readthedocs.io/en/latest/ |
I understand this issue is closed (which is fine/good) but just in case someone finds this issue and wants to make recent versions of llvmliite work, for things liike fastparquet, here's the two liner...
|
For anyone who is trying to get llvmlite installed, try the the following:
Note the 2nd line has a 9 at the end of the directory |
Package name: llvmlite
Issue type: Missing package
Link to PyPI page: https://pypi.org/project/llvmlite
Link to piwheels page: https://www.piwheels.org/project/llvmlite
Version: e.g. 1.2.3 or all
Python version: e.g. 3.5 or all
The text was updated successfully, but these errors were encountered: