You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently facing a critical issue while working with the PyDataStructs repository. When I try to run or test the project, I encounter a repeated ImportError:
ImportError: cannot import name '_nodes' from 'pydatastructs.utils._backend.cpp' (unknown location)
This error is occurring across several files, all pointing to the same problem—Python is unable to locate or import _nodes from the cpp backend. I've checked that _nodes.cpp is present and that the .so file exists (e.g., _nodes.cpython-311-darwin.so), but the issue still persists.
Since this seems to be tied to the backend implementation, and I'm not allowed to modify any mentor-authored C++ code or backend structure, I'm unsure how to proceed without guidance.
Would you be able to suggest what might be causing this error or point me to the correct way to resolve or rebuild the backend so that these modules are properly recognized?
I truly appreciate your time and help on this. Thank you in advance!
Best regards,
Susmita Chakrabarty
The text was updated successfully, but these errors were encountered:
Dear @czgdp1807,
I'm currently facing a critical issue while working with the PyDataStructs repository. When I try to run or test the project, I encounter a repeated ImportError:
ImportError: cannot import name '_nodes' from 'pydatastructs.utils._backend.cpp' (unknown location)
This error is occurring across several files, all pointing to the same problem—Python is unable to locate or import _nodes from the cpp backend. I've checked that _nodes.cpp is present and that the .so file exists (e.g., _nodes.cpython-311-darwin.so), but the issue still persists.
Since this seems to be tied to the backend implementation, and I'm not allowed to modify any mentor-authored C++ code or backend structure, I'm unsure how to proceed without guidance.
Would you be able to suggest what might be causing this error or point me to the correct way to resolve or rebuild the backend so that these modules are properly recognized?
I truly appreciate your time and help on this. Thank you in advance!
Best regards,
Susmita Chakrabarty
The text was updated successfully, but these errors were encountered: