Closed avaserin closed 11 months ago
Could you please:
When I ran
$ conda install xgboost=1.7.6
in my terminal I got:
Collecting package metadata (current_repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
Consider using conda-forge
channel, https://anaconda.org/conda-forge/xgboost
Same issue with 1.7.6 2.0.2 is available nowhere on conda-forge.
=== update === installed 2.0.0 -> Kernel crash installed 2.0.2 -> Kernel crash Installed 1.7.6 => Working now
Could you please share your notebook? Maybe in private?
What are you looking for? For me it crashes as part of a package. So the notebook calls classes that are hidden. Basically the notebook just calls :
loop = Loop(**params)
loop.run_forecast()
I don't know why it crashes, unless I can reproduce and debug the code myself I don't think I can find out the cause.
Basically,I need a https://en.m.wikipedia.org/wiki/Minimal_reproducible_example
Ok. Strangely, I don't think the problem is related to the code or the data. It's probably rather an install issue or an interaction with another package.
module 'xgboost' has no attribute 'XGBRegressor
It seems to be solved now by deleting and reinstalling the environment from scratch.
Great! Feel free to reopen if there's any issue found in XGBoost.
I have been running XGBoost in Jupyter Notebooks using Anaconda successfully for months. However, I recently updated conda to 23.7.4 and XGBoost to 1.7.3, and, now when I fit an XGBoost model, a popup comes up that says "Kernel Restarting: The kernel appears to have died. It will restart automatically." I am running a very small dataframe (around 100 features and 80 rows), so I think it is an issue with my version updates. I am running all of the following versions for other packages for reference:
XGBoost version: 1.7.3 NumPy version: 1.24.3 SciPy version: 1.11.3 Pandas version: 2.1.1 Python version: 3.9.12 (main, Apr 5 2022, 01:53:17) [Clang 12.0.0 ]
Does anyone know how I can fix this issue?