I have installed XGBoost on Windows 10 today, and it works well when I import it in python
running in a common cmd
prompt.
But when I use Jupyter Notebook or the Anaconda Prompt and Python, it shows the error [WinError 193] %1 is not a valid Win32 application
.
I have tried where python
in cmd
and anaconda prompt
, and that's the same.
I also have tried to print sys.path
in Python, and that's the same too.