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
numba.core import issues #6569
Comments
@clsmith12 thank you for submitting this. In order to debug this further, please supplement this issue with additional information:
|
Hi, thought I had written more in my original but it doesn't seem to be there... downloaded numba zip from github (due to permissions issues with a company device I am not able to use pip install) I can successfully import numba. but I cannot import numba.core, even when making sure the folder is in sys.path. |
@clsmith12 thank you for updating this. First of all, this is a very, very unusual situation you are in and probably very few people (if any?) in the Numba community have encountered this kind of situation before. I am afraid I am going to need some additional details in order to continue debugging this:
It's OK if you don't have all the answers here, but please try to answer as best you can so we can get to the next step of debugging. Listing exact commands, their output and any error messages verbatim is likely to help. Thanks! |
Are you trying to run numba from the directory in which is was downloaded? That might cause this issue. Another potential problem is that 0.45.1 didn't have |
Hi, Yes this could be the issue! I'll try next time I can to see if moving
it solves it.
Where should I "extract" the zip file to to make it work best? I have
usually just installed and extracted in my working folder for that project
(as it is quite rare I need to download anything separate and this is the
first time this sort of problem occurred)
I thought that was where I got the install from, but I'll double check and
redownload when I can
Thanks for all your help so far :)
…On Mon, Dec 14, 2020 at 9:54 AM stuartarchibald ***@***.***> wrote:
Are you trying to run numba from the directory in which is was downloaded?
That might cause this issue. Another potential problem is that 0.45.1
didn't have numba.core, the first version of Numba that had numba.core is
0.49 which was following a large refactor when Python 2.7 support was
removed. As for downloads of source, you should be able to get a zip of the
latest release from here: https://github.com/numba/numba/releases
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6569 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHXD5GHK3CY7VPJQL5VQRL3SUXOFPANCNFSM4UWMNXBA>
.
|
You can extract Numba anywhere you like, it then needs building, there's some instructions here. Am going to close this issue as resolved, if you encounter issues please do post to the Numba discourse forum https://numba.discourse.group or ask questions on IRC: https://gitter.im/numba/numba. Thanks! |
Reporting a bug
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
i.e. it's possible to run as 'python bug.py'.
The text was updated successfully, but these errors were encountered: