Skip to content
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

import statsforecast causes JupyterLab kernel failure / restart #716

Closed
John-Miller12 opened this issue Dec 2, 2023 · 4 comments
Closed
Labels

Comments

@John-Miller12
Copy link

John-Miller12 commented Dec 2, 2023

What happened + What you expected to happen

The command import statsforecast causes the JupyterLab kernel to terminate and restart. This occurs regardless of import order.

I just installed statsforecast for the first time.

No other relevant detail is given.

Debug logging in Jupyter only shows:

No such comm target registered: jupyter.widget.control
No such comm: 0f467408-e20c-41e1-84ba-9e3a3d31908e

Versions / Dependencies

Running in Docker v4.25.2
jupyter/datascience-notebook:latest
MacOS M2 Sonoma 14.1.1 (23B81)
Docker running AMD64 emulation

adagio                        0.2.4
aiohttp                       3.8.5
aiosignal                     1.3.1
alembic                       1.12.0
altair                        5.1.1
antlr4-python3-runtime        4.11.1
anyio                         4.0.0
appdirs                       1.4.4
argon2-cffi                   23.1.0
argon2-cffi-bindings          21.2.0
arrow                         1.2.3
asttokens                     2.4.0
async-generator               1.10
async-lru                     2.0.4
async-timeout                 4.0.3
attrs                         23.1.0
Babel                         2.12.1
backcall                      0.2.0
backports.functools-lru-cache 1.6.5
beautifulsoup4                4.12.2
bleach                        6.0.0
blinker                       1.6.2
bokeh                         3.2.2
boltons                       23.0.0
Bottleneck                    1.3.7
Brotli                        1.1.0
cached-property               1.5.2
certifi                       2023.7.22
certipy                       0.1.3
cffi                          1.15.1
charset-normalizer            3.2.0
click                         8.1.7
cloudpickle                   2.2.1
cmdstanpy                     1.2.0
colorama                      0.4.6
comm                          0.1.4
conda                         23.7.4
conda-package-handling        2.2.0
conda_package_streaming       0.9.0
contourpy                     1.1.1
convertdate                   2.4.0
cryptography                  41.0.4
cycler                        0.11.0
Cython                        3.0.2
cytoolz                       0.12.2
dask                          2023.9.2
debugpy                       1.8.0
decorator                     5.1.1
defusedxml                    0.7.1
dill                          0.3.7
distributed                   2023.9.2
entrypoints                   0.4
ephem                         4.1.5
et-xmlfile                    1.1.0
exceptiongroup                1.1.3
executing                     1.2.0
fastjsonschema                2.18.0
fonttools                     4.42.1
fqdn                          1.5.1
frozenlist                    1.4.0
fs                            2.4.16
fsspec                        2023.9.2
fugue                         0.8.7
fugue-sql-antlr               0.1.8
gitdb                         4.0.10
GitPython                     3.1.37
gmpy2                         2.1.2
greenlet                      2.0.2
h5py                          3.9.0
holidays                      0.37
idna                          3.4
imagecodecs                   2023.9.18
imageio                       2.31.1
importlib-metadata            6.8.0
importlib-resources           6.1.0
ipykernel                     6.25.2
ipympl                        0.9.3
ipython                       8.15.0
ipython-genutils              0.2.0
ipywidgets                    8.1.1
isoduration                   20.11.0
jedi                          0.19.0
Jinja2                        3.1.2
joblib                        1.3.2
json5                         0.9.14
jsonpatch                     1.33
jsonpointer                   2.4
jsonschema                    4.19.1
jsonschema-specifications     2023.7.1
jupyter_client                8.3.1
jupyter_core                  5.3.1
jupyter-events                0.7.0
jupyter-lsp                   2.2.0
jupyter-pluto-proxy           0.1.2
jupyter_server                2.7.3
jupyter-server-mathjax        0.2.6
jupyter_server_proxy          4.0.0
jupyter_server_terminals      0.4.4
jupyter-telemetry             0.1.0
jupyterhub                    4.0.2
jupyterlab                    4.0.6
jupyterlab-git                0.41.0
jupyterlab-pygments           0.2.2
jupyterlab_server             2.25.0
jupyterlab-widgets            3.0.9
kiwisolver                    1.4.5
lazy_loader                   0.3
libmambapy                    1.5.1
llvmlite                      0.40.1
locket                        1.0.0
LunarCalendar                 0.0.9
lz4                           4.3.2
Mako                          1.2.4
mamba                         1.5.1
MarkupSafe                    2.1.3
matplotlib                    3.8.0
matplotlib-inline             0.1.6
mistune                       3.0.1
mpmath                        1.3.0
msgpack                       1.0.6
multidict                     6.0.4
munkres                       1.1.4
nbclassic                     1.0.0
nbclient                      0.8.0
nbconvert                     7.8.0
nbdime                        3.2.1
nbformat                      5.9.2
nest-asyncio                  1.5.6
networkx                      3.1
notebook                      7.0.4
notebook_shim                 0.2.3
numba                         0.57.1
numexpr                       2.8.4
numpy                         1.24.4
oauthlib                      3.2.2
openpyxl                      3.1.2
overrides                     7.4.0
packaging                     23.1
pamela                        1.1.0
pandas                        2.1.1
pandocfilters                 1.5.0
parso                         0.8.3
partd                         1.4.0
patsy                         0.5.3
pexpect                       4.8.0
pickleshare                   0.7.5
Pillow                        10.0.1
pip                           23.2.1
pkgutil_resolve_name          1.3.10
platformdirs                  3.10.0
plotly                        5.18.0
pluggy                        1.3.0
polars                        0.19.19
prometheus-client             0.17.1
prompt-toolkit                3.0.39
prophet                       1.1.4
protobuf                      4.23.4
psutil                        5.9.5
ptyprocess                    0.7.0
pure-eval                     0.2.2
py-cpuinfo                    9.0.0
pyarrow                       13.0.0
pycosat                       0.6.4
pycparser                     2.21
pycurl                        7.45.1
Pygments                      2.16.1
PyJWT                         2.8.0
PyMeeus                       0.5.12
pyOpenSSL                     23.2.0
pyparsing                     3.1.1
PySocks                       1.7.1
python-dateutil               2.8.2
python-json-logger            2.0.7
pytz                          2023.3.post1
PyWavelets                    1.4.1
PyYAML                        6.0.1
pyzmq                         25.1.1
qpd                           0.4.4
referencing                   0.30.2
requests                      2.31.0
rfc3339-validator             0.1.4
rfc3986-validator             0.1.1
rpds-py                       0.10.3
rpy2                          3.5.11
ruamel.yaml                   0.17.32
ruamel.yaml.clib              0.2.7
scikit-image                  0.21.0
scikit-learn                  1.3.1
scipy                         1.11.2
seaborn                       0.12.2
Send2Trash                    1.8.2
setuptools                    68.2.2
simpervisor                   1.0.0
simplegeneric                 0.8.1
six                           1.16.0
smmap                         3.0.5
sniffio                       1.3.0
sortedcontainers              2.4.0
soupsieve                     2.5
SQLAlchemy                    2.0.21
sqlglot                       19.8.2
stack-data                    0.6.2
stanio                        0.3.0
statsforecast                 1.6.0
statsmodels                   0.14.0
sympy                         1.12
tables                        3.8.0
tblib                         2.0.0
tenacity                      8.2.3
terminado                     0.17.1
threadpoolctl                 3.2.0
tifffile                      2023.9.18
tinycss2                      1.2.1
tomli                         2.0.1
toolz                         0.12.0
tornado                       6.3.3
tqdm                          4.66.1
traitlets                     5.10.0
triad                         0.9.3
typing_extensions             4.8.0
typing-utils                  0.1.0
tzdata                        2023.3
tzlocal                       5.0.1
uri-template                  1.3.0
urllib3                       2.0.5
wcwidth                       0.2.6
webcolors                     1.13
webencodings                  0.5.1
websocket-client              1.6.3
wheel                         0.41.2
widgetsnbextension            4.0.9
xlrd                          2.0.1
xyzservices                   2023.7.0
yarl                          1.9.2
zict                          3.0.0
zipp                          3.17.0
zstandard                     0.21.0```

### Reproduction script

`import statsforecast` 🤷 

### Issue Severity

High: It blocks me from completing my task.
@jmoralez
Copy link
Member

jmoralez commented Dec 4, 2023

Hey @John-Miller12, thanks for using statsforecast. How are you installing the package? Also, would it be possible for you to use Rosetta emulation instead of docker? There are many things that could be going wrong with your current setup.

@John-Miller12
Copy link
Author

John-Miller12 commented Dec 4, 2023 via email

@jmoralez
Copy link
Member

jmoralez commented Dec 5, 2023

To be honest I think it'll be very hard to figure out whats wrong. You're running a Linux x86_64 container on a MacOS arm64, which is kind of just asking for trouble. If you really want to use that image please get one that matches your CPU architecture (I see they publish arm64) and use mamba to install the package (which is what is used in the image).

@John-Miller12
Copy link
Author

That is fair feedback and a reasonable workaround I should have already done myself. Nothing in this project requires the x86_64 architecture. I just switched from Windows for a new job. Thanks for your support

@John-Miller12 John-Miller12 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants