8000 Prob with widget in Jup Notebook · Issue #2266 · catboost/catboost · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Prob with widget in Jup Notebook #2266

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

Closed
DMS-999 opened this issue Jan 15, 2023 · 21 comments
Closed

Prob with widget in Jup Notebook #2266

DMS-999 opened this issue Jan 15, 2023 · 21 comments

Comments

@DMS-999
Copy link
DMS-999 commented Jan 15, 2023

Problem:
Datas.csv version: 1.1.1
Have a prob. with widget in my Jupyter Notebook --->
"
Model class 'CatboostWidgetModel' from module 'catboost-widget' is loaded but can not be instantiated
TypeError: o._deserialize_state is not a function
at u._make_model (http://localhost:8888/nbextensions/jupyter-js-widgets/extension.js?v=20230115133218:2:747339)
"
Widget_Err

@Evgueni-Petrov-aka-espetrov
Copy link
Contributor

hi @DMS-999 🤝
many thanks for trying catboost!
did you follow these steps?
https://catboost.ai/en/docs/installation/python-installation-method-pip-install

@DMS-999
Copy link
Author
DMS-999 commented Jan 16, 2023

hi @DMS-999 🤝
many thanks for trying catboost!
did you follow these steps?
https://catboost.ai/en/docs/installation/python-installation-method-pip-install

Hi Eugeni, Many tnx for response. I've tried all abilities but the result is the same again and again even with create new notebook ..

@DMS-999
Copy link
Author
DMS-999 commented Jan 16, 2023

it worked before but after I started training the model on the GPU, it stopped working correctly

@DMS-999
Copy link
Author
DMS-999 commented Jan 16, 2023

But even I've switched off GPU task type it still not available

@Evgueni-Petrov-aka-espetrov
Copy link
Contributor
Evgueni-Petrov-aka-espetrov commented Jan 16, 2023

here is my setup which seems to work
jupyter
image

ipywidgets.__version__ == '7.7.0'

graphviz.__version__ == '0.17'

graphviz x64 version 7.0.7 (latest)

windows
Edition Windows 10 Enterprise
Version 22H2
Installed on ‎22.‎07.‎2022
OS build 19045.2364
Experience Windows Feature Experience Pack 120.2212.4190.0

@pskryuchkov
Copy link

Same problem

@andrey-khropov
Copy link
Member

Please, downgrade ipywidgets to a version less than 8.x. We're working on the fix for ipywidgets >= 8.x

@ismorphism
Copy link

Please, downgrade ipywidgets to a version less than 8.x. We're working on the fix for ipywidgets >= 8.x

@andrey-khropov It would be great if you can solve this problem 👍

@ExcaliburKG
Copy link

@andrey-khropov is there an ETA for this issue?

@thesillystudent
Copy link

Not working for me even with ipywidets==7.7.5

@rangelgjc
Copy link

not working for me

@lmsanch
Copy link
lmsanch commented Apr 9, 2023

Any feedback on this? Meanwhile, any ipywidgets version that works? the lowest I tried is 7.6.5 and it does not work. Btw, congrats to the development team, CatBoost is among the must robust, well written ML packages out there. My favorite.

@andrey-khropov
Copy link
Member
andrey-khropov commented Apr 10, 2023

Not working for me even with ipywidets==7.7.5

I cannot reproduce this, so I need more detailed description of your environment and code.
It works for me for different versions of Python, on macOS, Linux and Windows, on different browsers (Chrome, Firefox, Safari) with both CPU and GPU training.

@lmsanch
Copy link
lmsanch commented Apr 10, 2023

This is my conda base environment, the one I use with CatBoost:

aiohttp==3.8.1
aiosignal @ file:///home/conda/feedstock_root/build_artifacts/aiosignal_1667935791922/work
alabaster @ file:///home/conda/feedstock_root/build_artifacts/alabaster_1673645646525/work
alembic @ file:///home/conda/feedstock_root/build_artifacts/alembic_1680767280953/work
alpaca-py==0.8.0
alpaca-trade-api==3.0.0
anaconda-client @ file:///home/conda/feedstock_root/build_artifacts/anaconda-client_1680823807942/work
anaconda-navigator==2.2.0
anaconda-project @ file:///home/conda/feedstock_root/build_artifacts/anaconda-project_1660066847501/work
anyio @ file:///home/conda/feedstock_root/build_artifacts/anyio_1666191106763/work/dist
appdirs @ file:///home/conda/feedstock_root/build_artifacts/appdirs_1603108395799/work
argon2-cffi @ file:///home/conda/feedstock_root/build_artifacts/argon2-cffi_1640817743617/work
argon2-cffi-bindings @ file:///home/conda/feedstock_root/build_artifacts/argon2-cffi-bindings_1666850859330/work
arrow @ file:///home/conda/feedstock_root/build_artifacts/arrow_1662382474514/work
astroid @ file:///home/conda/feedstock_root/build_artifacts/astroid_1680693984288/work
astropy @ file:///home/conda/feedstock_root/build_artifacts/astropy_1680107850846/work
asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1670263926556/work
async-timeout @ file:///home/conda/feedstock_root/build_artifacts/async-timeout_1640026696943/work
atomicwrites @ file:///home/conda/feedstock_root/build_artifacts/atomicwrites_1657325823582/work
attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1671632566681/work
Automat @ file:///home/conda/feedstock_root/build_artifacts/automat_1667331175863/work
autopep8 @ file:///home/conda/feedstock_root/build_artifacts/autopep8_1677845287175/work
Babel @ file:///home/conda/feedstock_root/build_artifacts/babel_1677767029043/work
backcall @ file:///home/conda/feedstock_root/build_artifacts/backcall_1592338393461/work
backports.functools-lru-cache @ file:///home/conda/feedstock_root/build_artifacts/backports.functools_lru_cache_1618230623929/work
backports.tempfile==1.0
backports.weakref @ file:///home/conda/feedstock_root/build_artifacts/backports.weakref_1645220785954/work
bcrypt @ file:///home/conda/feedstock_root/build_artifacts/bcrypt_1666831338495/work
beautifulsoup4 @ file:///home/conda/feedstock_root/build_artifacts/beautifulsoup4_1680888073205/work
binaryornot==0.4.4
black @ file:///home/conda/feedstock_root/build_artifacts/black-recipe_1680182804995/work
bleach @ file:///home/conda/feedstock_root/build_artifacts/bleach_1674535352125/work
bokeh @ file:///home/conda/feedstock_root/build_artifacts/bokeh_1660586590972/work
boltons @ file:///home/conda/feedstock_root/build_artifacts/boltons_1677499911949/work
bottle @ file:///home/conda/feedstock_root/build_artifacts/bottle_1669764172367/work
Bottleneck @ file:///home/conda/feedstock_root/build_artifacts/bottleneck_1678327141039/work
brotlipy @ file:///home/conda/feedstock_root/build_artifacts/brotlipy_1666764672617/work
cached-property @ file:///home/conda/feedstock_root/build_artifacts/cached_property_1615209429212/work
cachetools==5.3.0
catboost==1.1.1
certifi==2022.12.7
cffi @ file:///home/conda/feedstock_root/build_artifacts/cffi_1671179360775/work
chardet @ file:///home/conda/feedstock_root/build_artifacts/chardet_1669990273997/work
charset-normalizer @ file:///home/conda/feedstock_root/build_artifacts/charset-normalizer_1661170624537/work
click @ file:///home/conda/feedstock_root/build_artifacts/click_1666798198223/work
cloudpickle @ file:///home/conda/feedstock_root/build_artifacts/cloudpickle_1674202310934/work
clyent==1.2.2
cmaes @ file:///home/conda/feedstock_root/build_artifacts/cmaes_1673007708181/work
colorama @ file:///home/conda/feedstock_root/build_artifacts/colorama_1666700638685/work
colorcet @ file:///home/conda/feedstock_root/build_artifacts/colorcet_1664843244467/work
colorlog==6.7.0
comm @ file:///home/conda/feedstock_root/build_artifacts/comm_1679481329611/work
conda==23.3.1
conda-build==3.21.8
conda-content-trust @ file:///home/conda/feedstock_root/build_artifacts/conda-content-trust_1621370699668/work
conda-pack @ file:///home/conda/feedstock_root/build_artifacts/conda-pack_1642622318035/work
conda-package-handling @ file:///home/conda/feedstock_root/build_artifacts/conda-package-handling_1669907009957/work
conda-repo-cli==1.0.41
conda-token @ file:///Users/paulyim/miniconda3/envs/c3i/conda-bld/conda-token_1662660369760/work
conda-verify==3.4.2
conda_package_streaming @ file:///home/conda/feedstock_root/build_artifacts/conda-package-streaming_1669733752472/work
constantly==15.1.0
contourpy==1.0.6
cookiecutter @ file:///home/conda/feedstock_root/build_artifacts/cookiecutter_1654122127219/work
cryptography @ file:///home/conda/feedstock_root/build_artifacts/cryptography-split_1679811210200/work
cssselect @ file:///home/conda/feedstock_root/build_artifacts/cssselect_1666980406338/work
cycler @ file:///home/conda/feedstock_root/build_artifacts/cycler_1635519461629/work
cytoolz @ file:///home/conda/feedstock_root/build_artifacts/cytoolz_1666829688252/work
daal4py==2023.0.2
dask @ file:///home/conda/feedstock_root/build_artifacts/dask-core_1679692358967/work
dataclasses @ file:///home/conda/feedstock_root/build_artifacts/dataclasses_1628958434797/work
datasets @ file:///home/conda/feedstock_root/build_artifacts/datasets_1680191731712/work
datashader @ file:///home/conda/feedstock_root/build_artifacts/datashader_1675374858277/work
datashape==0.5.4
deap==1.3.3
debugpy @ file:///home/conda/feedstock_root/build_artifacts/debugpy_1680755452907/work
decorator @ file:///home/conda/feedstock_root/build_artifacts/decorator_1641555617451/work
defusedxml @ file:///home/conda/feedstock_root/build_artifacts/defusedxml_1615232257335/work
deprecation==2.1.0
diff-match-patch @ file:///home/conda/feedstock_root/build_artifacts/diff-match-patch_1594679019945/work
dill @ file:///home/conda/feedstock_root/build_artifacts/dill_1666603105584/work
distributed @ file:///home/conda/feedstock_root/build_artifacts/distributed_1680715567006/work
docstring-to-markdown @ file:///home/conda/feedstock_root/build_artifacts/docstring-to-markdown_1679424273982/work
docutils @ file:///home/conda/feedstock_root/build_artifacts/docutils_1610127764788/work
entrypoints @ file:///home/conda/feedstock_root/build_artifacts/entrypoints_1643888246732/work
et-xmlfile @ file:///home/conda/feedstock_root/build_artifacts/et_xmlfile_1674664118162/work
exceptiongroup @ file:///home/conda/feedstock_root/build_artifacts/exceptiongroup_1678703645500/work
executing @ file:///home/conda/feedstock_root/build_artifacts/executing_1667317341051/work
fastjsonschema @ file:///home/conda/feedstock_root/build_artifacts/python-fastjsonschema_1677336799617/work/dist
fastparquet @ file:///tmp/build/80754af9/fastparquet_1632742444684/work
filelock @ file:///home/conda/feedstock_root/build_artifacts/filelock_1680834529360/work
flake8 @ file:///home/conda/feedstock_root/build_artifacts/flake8_1669396691980/work
Flask==1.1.2
flit_core @ file:///home/conda/feedstock_root/build_artifacts/flit-core_1667734568827/work/source/flit_core
fonttools @ file:///home/conda/feedstock_root/build_artifacts/fonttools_1680021155848/work
frozendict==2.3.5
frozenlist @ file:///home/conda/feedstock_root/build_artifacts/frozenlist_1667935428519/work
fsspec @ file:///home/conda/feedstock_root/build_artifacts/fsspec_1680980497582/work
future @ file:///home/conda/feedstock_root/build_artifacts/future_1673596611778/work
gensim @ file:///home/conda/feedstock_root/build_artifacts/gensim_1679969911208/work
glob2==0.7
gmpy2 @ file:///home/conda/feedstock_root/build_artifacts/gmpy2_1666808679441/work
google-api-core==2.11.0
google-api-python-client==2.84.0
google-auth==2.17.2
google-auth-httplib2==0.1.0
google-auth-oauthlib==1.0.0
google-cloud==0.34.0
google-cloud-bigquery==3.9.0
google-cloud-core==2.3.2
google-cloud-storage==2.8.0
google-crc32c==1.5.0
google-resumable-media==2.4.1
googleapis-common-protos==1.59.0
graphviz==0.20.1
greenlet @ file:///home/conda/feedstock_root/build_artifacts/greenlet_1674937647044/work
grpcio==1.53.0
grpcio-status==1.53.0
h5py @ file:///home/conda/feedstock_root/build_artifacts/h5py_1675704787169/work
HeapDict==1.0.1
holoviews @ file:///home/conda/feedstock_root/build_artifacts/holoviews_1673954411254/work
html5lib==1.1
httplib2==0.22.0
huggingface-hub @ file:///home/conda/feedstock_root/build_artifacts/huggingface_hub_1679329705182/work
hvplot @ file:///home/conda/feedstock_root/build_artifacts/hvplot_1679061159667/work
hyperlink @ file:///home/conda/feedstock_root/build_artifacts/hyperlink_1610092164190/work
idna @ file:///home/conda/feedstock_root/build_artifacts/idna_1663625384323/work
imagecodecs @ file:///home/conda/feedstock_root/build_artifacts/imagecodecs_1679699549914/work
imageio @ file:///home/conda/feedstock_root/build_artifacts/imageio_1679914882579/work
imagesize @ file:///home/conda/feedstock_root/build_artifacts/imagesize_1656939531508/work
imbalanced-learn @ file:///home/conda/feedstock_root/build_artifacts/imbalanced-learn_1672235740107/work
importlib-metadata @ file:///home/conda/feedstock_root/build_artifacts/importlib-metadata_1681063839558/work
importlib-resources @ file:///home/conda/feedstock_root/build_artifacts/importlib_resources_1676919000169/work
incremental @ file:///home/conda/feedstock_root/build_artifacts/incremental_1665859450441/work
inflection @ file:///home/conda/feedstock_root/build_artifacts/inflection_1598089801258/work
iniconfig @ file:///home/conda/feedstock_root/build_artifacts/iniconfig_1673103042956/work
intake @ file:///home/conda/feedstock_root/build_artifacts/intake_1678618324189/work
intervaltree==3.0.2
ipykernel @ file:///home/conda/feedstock_root/build_artifacts/ipykernel_1679336319192/work
ipython @ file:///home/conda/feedstock_root/build_artifacts/ipython_1680185408135/work
ipython-genutils==0.2.0
ipywidgets @ file:///home/conda/feedstock_root/build_artifacts/ipywidgets_1680023138361/work
isort @ file:///home/conda/feedstock_root/build_artifacts/isort_1675033873689/work
itemadapter @ file:///home/conda/feedstock_root/build_artifacts/itemadapter_1680243523209/work
itemloaders @ file:///home/conda/feedstock_root/build_artifacts/itemloaders_1661796597649/work
itsdangerous @ file:///home/conda/feedstock_root/build_artifacts/itsdangerous_1648147185463/work
jaraco.classes @ file:///home/conda/feedstock_root/build_artifacts/jaraco.classes_1667024629799/work
jedi @ file:///home/conda/
8000
feedstock_root/build_artifacts/jedi_1669134318875/work
jeepney @ file:///home/conda/feedstock_root/build_artifacts/jeepney_1649085214306/work
jellyfish @ file:///home/conda/feedstock_root/build_artifacts/jellyfish_1666945761099/work
Jinja2 @ file:///home/conda/feedstock_root/build_artifacts/jinja2_1655912915439/work
jinja2-time @ file:///home/conda/feedstock_root/build_artifacts/jinja2-time_1646750632133/work
jmespath @ file:///home/conda/feedstock_root/build_artifacts/jmespath_1655568249366/work
joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1663332044897/work
json5 @ file:///home/conda/feedstock_root/build_artifacts/json5_1600692310011/work
jsonpatch @ file:///home/conda/feedstock_root/build_artifacts/jsonpatch_1632759296524/work
jsonpointer==2.0
jsonschema @ file:///home/conda/feedstock_root/build_artifacts/jsonschema-meta_1669810440410/work
jupyter @ file:///home/conda/feedstock_root/build_artifacts/jupyter_1670249604934/work
jupyter-console @ file:///home/conda/feedstock_root/build_artifacts/jupyter_console_1678118109161/work
jupyter-server @ file:///croot/jupyter_server_1671707632269/work
jupyter_client @ file:///home/conda/feedstock_root/build_artifacts/jupyter_client_1679365123476/work
jupyter_core @ file:///home/conda/feedstock_root/build_artifacts/jupyter_core_1678994160714/work
jupyterlab @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_1674494302491/work
jupyterlab-execute-time @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_execute_time_1672244590059/work
jupyterlab-pygments @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_pygments_1649936611996/work
jupyterlab-server @ file:///opt/conda/conda-bld/jupyterlab_server_1644500396812/work
jupyterlab-widgets @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_widgets_1680020489668/work
keyring @ file:///home/conda/feedstock_root/build_artifacts/keyring_1671728250508/work
kiwisolver @ file:///home/conda/feedstock_root/build_artifacts/kiwisolver_1666805784128/work
lazy-object-proxy @ file:///home/conda/feedstock_root/build_artifacts/lazy-object-proxy_1672877776389/work
lazy_loader @ file:///home/conda/feedstock_root/build_artifacts/lazy_loader_1679784563552/work
libarchive-c @ file:///home/conda/feedstock_root/build_artifacts/python-libarchive-c_1666852475034/work
llvmlite==0.39.1
locket @ file:///home/conda/feedstock_root/build_artifacts/locket_1650660393415/work
lxml @ file:///home/conda/feedstock_root/build_artifacts/lxml_1671013460024/work
lz4 @ file:///home/conda/feedstock_root/build_artifacts/lz4_1675806654388/work
Mako @ file:///home/conda/feedstock_root/build_artifacts/mako_1668568582731/work
Markdown @ file:///home/conda/feedstock_root/build_artifacts/markdown_1679584000376/work
MarkupSafe @ file:///home/conda/feedstock_root/build_artifacts/markupsafe_1654705940476/work
matplotlib==3.6.1
matplotlib-inline @ file:///home/conda/feedstock_root/build_artifacts/matplotlib-inline_1660814786464/work
mccabe @ file:///home/conda/feedstock_root/build_artifacts/mccabe_1643049622439/work
mistune @ file:///home/conda/feedstock_root/build_artifacts/mistune_1673904152039/work
mkl-service==2.4.0
more-itertools @ file:///home/conda/feedstock_root/build_artifacts/more-itertools_1677514956219/work
mpmath @ file:///home/conda/feedstock_root/build_artifacts/mpmath_1678228039184/work
msgpack==1.0.3
multidict @ file:///home/conda/feedstock_root/build_artifacts/multidict_1672339396340/work
multipledispatch==0.6.0
multiprocess @ file:///home/conda/feedstock_root/build_artifacts/multiprocess_1666932893712/work
multitasking==0.0.11
munkres==1.1.4
mypy-extensions @ file:///home/conda/feedstock_root/build_artifacts/mypy_extensions_1675543315189/work
navigator-updater==0.2.1
nbclassic @ file:///home/conda/feedstock_root/build_artifacts/nbclassic_1680699273776/work
nbclient @ file:///home/conda/feedstock_root/build_artifacts/nbclient_1646999386773/work
nbconvert @ file:///opt/conda/conda-bld/nbconvert_1649751911790/work
nbformat @ file:///home/conda/feedstock_root/build_artifacts/nbformat_1679336765223/work
nbresuse==0.4.0
nest-asyncio @ file:///home/conda/feedstock_root/build_artifacts/nest-asyncio_1664684991461/work
networkx @ file:///home/conda/feedstock_root/build_artifacts/networkx_1680692919326/work
nltk @ file:///home/conda/feedstock_root/build_artifacts/nltk_1672696305909/work
notebook @ file:///home/conda/feedstock_root/build_artifacts/notebook_1616419148472/work
notebook_shim @ file:///home/conda/feedstock_root/build_artifacts/notebook-shim_1667478401171/work
numba @ file:///home/conda/feedstock_root/build_artifacts/numba_1680825376804/work
numexpr @ file:///croot/numexpr_1668713893690/work
numpy @ file:///home/conda/feedstock_root/build_artifacts/numpy_1668919081525/work
numpydoc @ file:///home/conda/feedstock_root/build_artifacts/numpydoc_1665273484262/work
oauthlib==3.2.2
openpyxl==3.1.1
optuna @ file:///home/conda/feedstock_root/build_artifacts/optuna_1674178063556/work
optuna-dashboard @ file:///home/conda/feedstock_root/build_artifacts/optuna-dashboard_1678794351458/work
packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1673482170163/work
pandas==1.4.2
pandocfilters @ file:///home/conda/feedstock_root/build_artifacts/pandocfilters_1631603243851/work
panel @ file:///home/conda/feedstock_root/build_artifacts/panel_1677891341796/work
param @ file:///home/conda/feedstock_root/build_artifacts/param_1678790747312/work
parsel @ file:///home/conda/feedstock_root/build_artifacts/parsel_1667392207259/work
parso @ file:///home/conda/feedstock_root/build_artifacts/parso_1638334955874/work
partd @ file:///home/conda/feedstock_root/build_artifacts/partd_1660316728562/work
pathspec @ file:///home/conda/feedstock_root/build_artifacts/pathspec_1678853982175/work
patsy @ file:///home/conda/feedstock_root/build_artifacts/patsy_1665356157073/work
pep8==1.7.1
pexpect @ file:///home/conda/feedstock_root/build_artifacts/pexpect_1667297516076/work
pickleshare @ file:///home/conda/feedstock_root/build_artifacts/pickleshare_1602536217715/work
Pillow @ file:///home/conda/feedstock_root/build_artifacts/pillow_1680694271308/work
pkginfo @ file:///home/conda/feedstock_root/build_artifacts/pkginfo_1673281726124/work
pkgutil_resolve_name @ file:///home/conda/feedstock_root/build_artifacts/pkgutil-resolve-name_1633981968097/work
platformdirs @ file:///home/conda/feedstock_root/build_artifacts/platformdirs_1679871349196/work
plotly @ file:///home/conda/feedstock_root/build_artifacts/plotly_1680731398751/work
pluggy @ file:///home/conda/feedstock_root/build_artifacts/pluggy_1667232663820/work
ply==3.11
pooch @ file:///home/conda/feedstock_root/build_artifacts/pooch_1679580333621/work
prometheus-client @ file:///home/conda/feedstock_root/build_artifacts/prometheus_client_1674535637125/work
prompt-toolkit @ file:///home/conda/feedstock_root/build_artifacts/prompt-toolkit_1677600924538/work
Protego @ file:///home/conda/feedstock_root/build_artifacts/protego_1647348122707/work
proto-plus==1.22.2
protobuf==4.22.1
psutil @ file:///home/conda/feedstock_root/build_artifacts/psutil_1667885909637/work
psycopg2 @ file:///home/conda/feedstock_root/build_artifacts/psycopg2-split_1672159196617/work
ptyprocess @ file:///home/conda/feedstock_root/build_artifacts/ptyprocess_1609419310487/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pure-eval @ file:///home/conda/feedstock_root/build_artifacts/pure_eval_1642875951954/work
py-cpuinfo @ file:///home/conda/feedstock_root/build_artifacts/py-cpuinfo_1666774466606/work
pyarrow==11.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
pycodestyle @ file:///home/conda/feedstock_root/build_artifacts/pycodestyle_1669306857274/work
pycosat @ file:///home/conda/feedstock_root/build_artifacts/pycosat_1666836642684/work
pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1636257122734/work
pyct==0.4.6
pycurl==7.45.1
pydantic==1.10.7
PyDispatcher==2.0.5
pydocstyle @ file:///home/conda/feedstock_root/build_artifacts/pydocstyle_1673997487070/work
pyerfa @ file:///home/conda/feedstock_root/build_artifacts/pyerfa_1679552595810/work
pyflakes @ file:///home/conda/feedstock_root/build_artifacts/pyflakes_1669319921641/work
Pygments @ file:///home/conda/feedstock_root/build_artifacts/pygments_1672682006896/work
PyJWT @ file:///home/conda/feedstock_root/build_artifacts/pyjwt_1666240235902/work
pylint @ file:///home/conda/feedstock_root/build_artifacts/pylint_1680721927628/work
pylint-venv @ file:///home/conda/feedstock_root/build_artifacts/pylint-venv_1677228547421/work
pyls-spyder @ file:///home/conda/feedstock_root/build_artifacts/pyls-spyder_1619747398504/work
pyodbc @ file:///home/conda/feedstock_root/build_artifacts/pyodbc_1680148602910/work
pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1680037383858/work
pyparsing @ file:///home/conda/feedstock_root/build_artifacts/pyparsing_1652235407899/work
PyQt5==5.15.7
PyQt5-sip==12.11.0
PyQtWebEngine==5.15.4
pyrsistent @ file:///home/conda/feedstock_root/build_artifacts/pyrsistent_1672681476680/work
PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1661604839144/work
pytest==7.3.0
python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work
python-dotenv==0.21.0
python-lsp-black @ file:///home/conda/feedstock_root/build_artifacts/python-lsp-black_1649795569828/work
python-lsp-jsonrpc @ file:///home/conda/feedstock_root/build_artifacts/python-lsp-jsonrpc_1618530352985/work
python-lsp-server @ file:///home/conda/feedstock_root/build_artifacts/python-lsp-server-meta_1680545288995/work
python-slugify @ file:///home/conda/feedstock_root/build_artifacts/python-slugify_1677265108728/work
pytoolconfig @ file:///home/conda/feedstock_root/build_artifacts/pytoolconfig_1675124745143/work
pytz @ file:///home/conda/feedstock_root/build_artifacts/pytz_1680088766131/work
pyviz-comms @ file:///home/conda/feedstock_root/build_artifacts/pyviz_comms_1661341338467/work
PyWavelets @ file:///home/conda/feedstock_root/build_artifacts/pywavelets_1673082327051/work
pyxdg @ file:///home/conda/feedstock_root/build_artifacts/pyxdg_1654536799286/work
PyYAML @ file:///home/conda/feedstock_root/build_artifacts/pyyaml_1666772387118/work
pyzmq @ file:///home/conda/feedstock_root/build_artifacts/pyzmq_1679316848093/work
QDarkStyle @ file:///home/conda/feedstock_root/build_artifacts/qdarkstyle_1654095878638/work
qstylizer @ file:///home/conda/feedstock_root/build_artifacts/qstylizer_1662244505808/work/dist/qstylizer-0.2.2-py2.py3-none-any.whl
QtAwesome @ file:///home/conda/feedstock_root/build_artifacts/qtawesome_1678418951316/work
qtconsole @ file:///home/conda/feedstock_root/build_artifacts/qtconsole-base_1680543490292/work
QtPy @ file:///home/conda/feedstock_root/build_artifacts/qtpy_1680148448366/work
QuantStats==0.0.59
queuelib @ file:///home/conda/feedstock_root/build_artifacts/queuelib_1629994290383/work
regex @ file:///home/conda/feedstock_root/build_artifacts/regex_1679599157565/work
requests @ file:///home/conda/feedstock_root/build_artifacts/requests_1680286922386/work
requests-file @ file:///home/conda/feedstock_root/build_artifacts/requests-file_1591227832914/work
requests-oauthlib==1.3.1
responses @ file:///home/conda/feedstock_root/build_artifacts/responses_1643839609465/work
rope @ file:///home/conda/feedstock_root/build_artifacts/rope_1674988456931/work
rsa==4.9
Rtree @ file:///home/conda/feedstock_root/build_artifacts/rtree_1666813326661/work
ruamel-yaml-conda @ file:///home/conda/feedstock_root/build_artifacts/ruamel_yaml_1666819784739/work
ruamel.yaml @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml_1678272973380/work
ruamel.yaml.clib @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml.clib_1670412733608/work
sacremoses @ file:///home/conda/feedstock_root/build_artifacts/sacremoses_1651557636210/work
scikit-image @ file:///home/conda/feedstock_root/build_artifacts/scikit-image_1680654420824/work/dist/scikit_image-0.20.0-cp39-cp39-linux_x86_64.whl
scikit-learn @ file:///home/conda/feedstock_root/build_artifacts/scikit-learn_1679675836807/work
scikit-learn-intelex==20230131.200013
scipy==1.10.1
Scrapy @ file:///croot/scrapy_1677738182270/work
seaborn @ file:///home/conda/feedstock_root/build_artifacts/seaborn-split_1672497695270/work
SecretStorage @ file:///home/conda/feedstock_root/build_artifacts/secretstorage_1666848732124/work
Send2Trash @ file:///home/conda/feedstock_root/build_artifacts/send2trash_1628511208346/work
service-identity==18.1.0
shap @ file:///tmp/build/80754af9/shap_1633430395245/work
sip @ file:///home/conda/feedstock_root/build_artifacts/sip_1680524653190/work
six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work
# Editable install with no version control (skopt==0.2.0)
-e /home/luis/Documents/skopt
slicer @ file:///home/conda/feedstock_root/build_artifacts/slicer_1608146800664/work
smart-open @ file:///home/conda/feedstock_root/build_artifacts/smart_open_split_1673202927732/work/dist
sniffio @ file:///home/conda/feedstock_root/build_artifacts/sniffio_1662051266223/work
snowballstemmer @ file:///home/conda/feedstock_root/build_artifacts/snowballstemmer_1637143057757/work
sortedcontainers @ file:///home/conda/feedstock_root/build_artifacts/sortedcontainers_1621217038088/work
soupsieve @ file:///home/conda/feedstock_root/build_artifacts/soupsieve_1658207591808/work
Sphinx @ file:///home/conda/feedstock_root/build_artifacts/sphinx_1655452194084/work
sphinxcontrib-applehelp @ file:///home/conda/feedstock_root/build_artifacts/sphinxcontrib-applehelp_1674487779667/work
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp @ file:///home/conda/feedstock_root/build_artifacts/sphinxcontrib-htmlhelp_1675256494457/work
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml @ file:///home/conda/feedstock_root/build_artifacts/sphinxcontrib-serializinghtml_1649380998999/work
spyder @ file:///home/conda/feedstock_root/build_artifacts/spyder_1680729110563/work
spyder-kernels @ file:///home/conda/feedstock_root/build_artifacts/spyder-kernels_1680544772629/work
SQLAlchemy @ file:///home/conda/feedstock_root/build_artifacts/sqlalchemy_1680770077983/work
sseclient-py==1.7.2
stack-data @ file:///home/conda/feedstock_root/build_artifacts/stack_data_1669632077133/work
statsmodels @ file:///home/conda/feedstock_root/build_artifacts/statsmodels_1667586005244/work
sympy @ file:///home/conda/feedstock_root/build_artifacts/sympy_1679342590084/work
TA-Lib @ file:///home/conda/feedstock_root/build_artifacts/ta-lib_1618425382522/work
tables @ file:///home/conda/feedstock_root/build_artifacts/pytables_1680968680025/work
tabulate @ file:///home/conda/feedstock_root/build_artifacts/tabulate_1665138452165/work
TBB==0.2
tblib @ file:///home/conda/feedstock_root/build_artifacts/tblib_1616261298899/work
tenacity @ file:///home/conda/feedstock_root/build_artifacts/tenacity_1677600641219/work
terminado @ file:///home/conda/feedstock_root/build_artifacts/terminado_1670253674810/work
testpath @ file:///home/conda/feedstock_root/build_artifacts/testpath_1645693042223/work
text-unidecode==1.3
textdistance @ file:///home/conda/feedstock_root/build_artifacts/textdistance_1663527496115/work
threadpoolctl @ file:///home/conda/feedstock_root/build_artifacts/threadpoolctl_1643647933166/work
three-merge @ file:///home/conda/feedstock_root/build_artifacts/three-merge_1595515817927/work
thrift==0.11.0
tifffile @ file:///home/conda/feedstock_root/build_artifacts/tifffile_1679480142909/work
tinycss2 @ file:///home/conda/feedstock_root/build_artifacts/tinycss2_1666100256010/work
tldextract @ file:///home/conda/feedstock_root/build_artifacts/tldextract_1664943488272/work
tokenizers @ file:///home/conda/feedstock_root/build_artifacts/tokenizers_1680703502530/work/bindings/python
toml @ file:///home/conda/feedstock_root/build_artifacts/toml_1604308577558/work
tomli @ file:///home/conda/feedstock_root/build_artifacts/tomli_1644342247877/work
tomlkit @ file:///home/conda/feedstock_root/build_artifacts/tomlkit_1679924068997/work
toolz @ file:///home/conda/feedstock_root/build_artifacts/toolz_1657485559105/work
torch==2.0.0.post200
tornado @ file:///home/conda/feedstock_root/build_artifacts/tornado_1666788587690/work
tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1677948868469/work
traitlets @ file:///home/conda/feedstock_root/build_artifacts/traitlets_1675110562325/work
transformers @ file:///home/conda/feedstock_root/build_artifacts/transformers_1680139733669/work
Twisted @ file:///home/conda/feedstock_root/build_artifacts/twisted_1667305495832/work
typing_extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1678559861143/work
ujson @ file:///home/conda/feedstock_root/build_artifacts/ujson_1675191912922/work
unicodedata2 @ file:///home/conda/feedstock_root/build_artifacts/unicodedata2_1667239485250/work
Unidecode @ file:///home/conda/feedstock_root/build_artifacts/unidecode_1664588179651/work
uritemplate==4.1.1
urllib3 @ file:///home/conda/feedstock_root/build_artifacts/urllib3_1678635778344/work
w3lib @ file:///home/conda/feedstock_root/build_artifacts/w3lib_1670599828182/work
watchdog @ file:///home/conda/feedstock_root/build_artifacts/watchdog_1679332862337/work
wcwidth @ file:///home/conda/feedstock_root/build_artifacts/wcwidth_1673864653149/work
webencodings==0.5.1
websocket-client @ file:///home/conda/feedstock_root/build_artifacts/websocket-client_1675567828044/work
websockets==10.3
Werkzeug @ file:///home/conda/feedstock_root/build_artifacts/werkzeug_1651670883478/work
whatthepatch @ file:///home/conda/feedstock_root/build_artifacts/whatthepatch_1675090462655/work
widgetsnbextension @ file:///home/conda/feedstock_root/build_artifacts/widgetsnbextension_1680021576815/work
wrapt @ file:///home/conda/feedstock_root/build_artifacts/wrapt_1677485548240/work
wurlitzer @ file:///home/conda/feedstock_root/build_artifacts/wurlitzer_1669944596833/work
xarray @ file:///home/conda/feedstock_root/build_artifacts/xarray_1679589431118/work
xgboost==1.5.0
xxhash @ file:///home/conda/feedstock_root/build_artifacts/python-xxhash_1672695042097/work
yapf @ file:///home/conda/feedstock_root/build_artifacts/yapf_1641487982943/work
yarl @ file:///home/conda/feedstock_root/build_artifacts/yarl_1672340978046/work
yfinance==0.2.12
zict @ file:///home/conda/feedstock_root/build_artifacts/zict_1651156074437/work
zipp @ file:///home/conda/feedstock_root/build_artifacts/zipp_1677313463193/work
zope.interface @ file:///home/conda/feedstock_root/build_artifacts/zope.interface_1679046879699/work
zstandard==0.19.0

This is the OS I am using:

Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy

This is my hardware:


*-display                 
       description: VGA compatible controller
       product: GA102 [GeForce RTX 3090]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:147 memory:41000000-41ffffff memory:50000000-5fffffff memory:60000000-61ffffff ioport:3000(size=128) memory:42000000-4207ffff
  *-graphics
       product: EFI VGA
       physical id: 2
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1024,768

  *-cpu                     
       description: CPU
       product: 12th Gen Intel(R) Core(TM) i9-12900K
       vendor: Intel Corp.
       physical id: 53
       bus info: cpu@0
       version: 6.151.2
       serial: To Be Filled By O.E.M.
       slot: U3E1
       size: 4882MHz
       capacity: 5100MHz
       width: 64 bits
       clock: 100MHz
       capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault cat_l2 invpcid_single cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi umip pku ospke waitpkg gfni vaes vpclmulqdq tme rdpid movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr ibt flush_l1d arch_capabilities cpufreq
       configuration: cores=16 enabledcores=16 microcode=44 threads=24
  *-firmware                
       description: BIOS
       vendor: American Megatrends International, LLC.
       physical id: 0
       version: F6
       date: 12/17/2021
       size: 64KiB
       capacity: 32MiB
       capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer int10video usb biosbootspecification uefi
  *-memory
       description: System Memory
       physical id: 3b
       slot: System board or motherboard
       size: 128GiB

browser

$ firefox --version
Mozilla Firefox 111.0.1

Thank you

@andrey-khropov
Copy link
Member
andrey-khropov commented 8000 Apr 11, 2023

This is my conda base environment, the one I use with CatBoost:

Unfortunately, a lot of these are from "file:///home/conda/feedstock_root/build_artifacts/" so it can't be deduced what are their versions.

Can you describe commands to build this environment from scratch?

P.S. For long listings it's better to attach files than post them inline.

@lmsanch
Copy link
lmsanch commented Apr 11, 2023

Thank you. Here is the file.

conda_base.txt

@andrey-khropov
Copy link
Member

Thank you. Here is the file.

conda_base.txt

You have ipywidgets >= 8.0 :

ipywidgets 8.0.6

BTW, for new wheels built using pyproject.toml + setup.py (in master now and for all future releases) I've created an 'extra' called 'widget' that lists the proper dependencies for catboost with widget, so in order for the widget to work properly CatBoost should be installed like that: python3 -m pip install '<package name or wheel file path>[widget]'.

@lmsanch
Copy link
lmsanch commented Apr 12, 2023

I "downgraded" to a much lower version of ipywidgets, and I still get the error:

ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.6.5              pyhd3eb1b0_1  

Screenshot 2023-04-12 at 9 54 25 AM

[Open Browser Console for more detailed log - Double click to close this message]
Model class 'CatboostWidgetModel' from module 'catboost-widget' is loaded but can not be instantiated
_make_model@http://10.10.1.20:8890/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.1a6d6a3a0542a41bec5a.js?v=1a6d6a3a0542a41bec5a:1:7933

@shahdghorsi
Copy link

Hi @andrey-khropov I can see that this issue is closed but tracing the other mentioned issues I could not find what is the solution to this error mentioned at the beginning of the thread

@andrey-khropov
Copy link
Member

Hi @andrey-khropov I can see that this issue is closed but tracing the other mentioned issues I could not find what is the solution to this error mentioned at the beginning of the thread

Versions of CatBoost prior to 1.2 have been incompatible with ipywidgets 8.x. Since CatBoost 1.2 it should be compatible with ipywidgets 8.x as well. If you still have problems please create a new issue and describe your environment in details.

@Amy0266
Copy link
Amy0266 commented Apr 12, 2024

@andrey-khropov
你好,我也遇到这个问题。
我的ipywidgets 7.7.2
catboost 1.2.3
微信图片_20240412235926

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0