-
Notifications
You must be signed in to change notification settings - Fork 107
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
make_heap code object inequality at import time #250
Comments
I have never seen this before. I'll have to see if I can reproduce anything like it locally. |
A member of our group reports that a very similar setup with Python 3.10 works as expected (both on Native Windows and through WSL). |
I have the same issue on my side with the following specifications:
I installed everything via Maybe this helps in tracking down the issue. |
I have this problem when I run a file using debugger (VS Code). Is there any recommended debugger? |
Yeah, without being able to use a debugger, I can’t maintain anything … This seems to be the asssertion that gets triggered: https://github.com/microsoft/debugpy/blob/39879bdeeae5908a8f3527c77ba252e0930afabc/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx#L562 Workaround: microsoft/debugpy#1719
(I think using Python 3.11 also works) Upstream issue: numba/numba#9760 |
In attempting to go through the introductory material for UMAP, I hit the following exception with
import umap
:<code object <module> at ..., file "/path/to/keras/lib/python3.12/path/to/pynndescent/sparse_nndescent.py", line 1> != <code object make_heap at ..., file "/path/to/keras/lib/python3.12/path/to/pynndescent/utils.py", line 171>
.I'm at a loss on how to debug this. Note that the venv here is called "keras".
WSL2
Python 3.12
scikit-learn 1.6
umap-learn 0.5.7
scipy 1.14.1
pynndescent 0.5.13
numpy 2.0.2
numba 0.60.0
keras 3.6.0
The text was updated successfully, but these errors were encountered: