Open baneenali444 opened 2 weeks ago
Hi @baneenali444 thank you for the report! Checking the traceback seems like you are using Spyder from conda (over the E:\report2\ana
dir ) but numpy is being imported from a different Python installation over C:\Users\بنين علي\AppData\Roaming\Python\Python312
Did you install numpy from pip? I would suggest you to try to remove/uninstall numpy and also be sure you are installing your packages over the same conda environment where your Spyder installation is. Also, if possible, you should install the packages you need using conda (so not using pip). A check to the Spyder FAQ page related with packages management could be worthy: https://docs.spyder-ide.org/current/faq.html#using-spyder
Let us know if the info above helps!
Description
What steps will reproduce the problem?
after installing xgboost library the xgboost model did not work at first and then this error kept showing up to me
ImportError: numpy.core.multiarray failed to import after that i have updated numpy to numpy 2.1.3 and the error is still there
Traceback
Versions
Dependencies