question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Encountering numba current locale errors?

See original GitHub issue

`raise NotImplementedError(“cannot convert native %s to Python object” % (typ,)) LoweringError: cannot convert native const('\tnn descent iteration ') to Python object File “…/…/…/…/home/.local/lib/python2.7/site-packages/umap/umap_.py”, line 663 [1] During: lowering “print($515.5)” at /home/.local/lib/python2.7/site-packages/umap/umap_.py (663)

Failed at nopython (nopython mode backend) cannot convert native const('\tnn descent iteration ') to Python object File “…/…/…/…/home/.local/lib/python2.7/site-packages/umap/umap_.py”, line 663 [1] During: lowering “print($515.5)” at /home/.local/lib/python2.7/site-packages/umap/umap_.py (663) ` Related to 1.12.3.3 here: http://numba.pydata.org/numba-doc/dev/user/faq.html

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lmcinnescommented, Nov 28, 2017

Wow, good catch! Thanks for the reference – it saved me an evening of (probably very frustrating) googling. I think I have it fixed, but I would greatly appreciate it if you can test on your system (if you have time) to ensure that it does indeed resolve the issue for you. Thanks!

0reactions
saulncommented, Nov 29, 2017

I’ll look into it tonight.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting and tips — Numba 0.50.1 documentation
The error message helps you find out what went wrong: “Invalid use of + with ... Local variables in the current function can...
Read more >
Frequently Asked Questions - Numba documentation
Why does Numba complain about the current locale? ... it means you have hit a LLVM bug which causes incorrect handling...
Read more >
numba -s unknown locale error · Issue #3974 - GitHub
Issue: When I run numba -s the system reporting tool aborts because an unknown locale error is raised. Suggestion: I think it would...
Read more >
Numba nested functions with pandas - Stack Overflow
Its throwing the following error: Numba encountered the use of a language feature it does not support in this context: (op code: make_function ......
Read more >
numba - PyPI
Numba is an open source, NumPy-aware optimizing compiler for Python sponsored by Anaconda, Inc. It uses the LLVM compiler project to generate machine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found