Open ruomad opened 2 years ago
Hi @ruomad, can you please describe your environment? The output of jupyter troubleshoot
would be helpful (you may want to sanitize paths or other sensitive information).
I just ran a fresh conda environment on my computer and it is working fine.
jupyter troubleshoot
Hello and thanks for your answer. I use poetry with python 3.10 on windows 10. Native Python installer (not msys2). The output below is after downgrading :
WARNING: You are using pip version 22.0.3; however, version 22.0.4 is available. You should consider upgrading via the 'C:\Users\####\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\Scripts\python.exe -m pip install --upgrade pip' command. $PATH: C:\Users\####\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\Scripts C:\Users\####\AppData\Local\Programs\local\bin C:\Users\####\AppData\Local\Programs\Python\Python310 sys.path: C:\Users\####\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\Scripts\jupyter-troubleshoot.EXE C:\Users\DAMOUR\AppData\Local\Programs\Python\Python310\python310.zip C:\Users\DAMOUR\AppData\Local\Programs\Python\Python310\DLLs C:\Users\DAMOUR\AppData\Local\Programs\Python\Python310\lib C:\Users\DAMOUR\AppData\Local\Programs\Python\Python310 C:\Users\DAMOUR\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10 C:\Users\DAMOUR\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\lib\site-packages C:\Users\DAMOUR\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\lib\site-packages\win32 C:\Users\DAMOUR\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\lib\site-packages\win32\lib C:\Users\DAMOUR\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\lib\site-packages\Pythonwin sys.executable: C:\Users\DAMOUR\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\Scripts\python.exe sys.version: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] platform.platform(): Windows-10-10.0.19042-SP0 where jupyter: C:\Users\####\AppData\Local\pypoetry\Cache\virtualenvs\azlab-TXIRGxn6-py3.10\Scripts\jupyter.exe pip list: Package Version -------------------- ----------- anyio 3.5.0 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 asttokens 2.0.5 atomicwrites 1.4.0 attrs 21.4.0 Babel 2.10.1 backcall 0.2.0 beautifulsoup4 4.11.1 bleach 5.0.0 certifi 2021.10.8 cffi 1.15.0 charset-normalizer 2.0.12 colorama 0.4.4 cryptography 36.0.2 cycler 0.11.0 debugpy 1.6.0 decorator 5.1.1 defusedxml 0.7.1 entrypoints 0.4 et-xmlfile 1.1.0 executing 0.8.3 fastjsonschema 2.15.3 fonttools 4.33.3 greenlet 1.1.2 h11 0.12.0 h2 4.1.0 hpack 4.0.0 httpcore 0.14.7 httpx 0.22.0 hyperframe 6.0.1 idna 3.3 iniconfig 1.1.1 ipykernel 6.13.0 ipython 8.2.0 ipython-genutils 0.2.0 ipywidgets 8.0.0rc0 jedi 0.18.1 Jinja2 3.1.1 json5 0.9.6 jsonschema 4.4.0 jupyter-client 7.2.2 jupyter-core 4.10.0 jupyter-server 1.16.0 jupyterlab 3.3.4 jupyterlab-pygments 0.2.2 jupyterlab-server 2.13.0 jupyterlab-widgets 3.0.0rc0 kiwisolver 1.4.2 MarkupSafe 2.1.1 matplotlib 3.5.1 matplotlib-inline 0.1.3 mistune 0.8.4 nbclassic 0.3.7 nbclient 0.5.13 nbconvert 6.5.0 nbformat 5.3.0 nest-asyncio 1.5.5 notebook 6.4.11 notebook-shim 0.1.0 numpy 1.22.3 openpyxl 3.0.9 packaging 21.3 pandas 1.4.2 pandocfilters 1.5.0 parso 0.8.3 pickleshare 0.7.5 Pillow 9.1.0 pip 22.0.3 pluggy 1.0.0 prometheus-client 0.14.1 prompt-toolkit 3.0.29 psutil 5.9.0 psycopg2 2.9.3 pure-eval 0.2.2 py 1.11.0 pycparser 2.21 Pygments 2.12.0 pyparsing 3.0.8 PyPDF2 1.27.9 pyrsistent 0.18.1 pytest 7.1.2 python-dateutil 2.8.2 pytz 2022.1 pywin32 303 pywinpty 2.0.5 pyzmq 22.3.0 reportlab 3.6.9 requests 2.27.1 rfc3986 1.5.0 Send2Trash 1.8.0 setuptools 60.6.0 setuptools-scm 6.4.2 six 1.16.0 sniffio 1.2.0 soupsieve 2.3.2.post1 SQLAlchemy 1.4.36 stack-data 0.2.0 terminado 0.13.3 tinycss2 1.1.1 tomli 2.0.1 tornado 6.1 traitlets 5.1.1 urllib3 1.26.9 utils 1.0.6 voila 0.3.5 wcwidth 0.2.5 webencodings 0.5.1 websocket-client 1.3.2 websockets 10.3 wheel 0.37.1 widgetsnbextension 4.0.0rc0
I think this is the same error is https://github.com/jupyterlab/jupyterlab/issues/11934. Are you seeing a similar traceback?
Hum, yes I think the traceback was similar. I'll re-upgrade and send a traceback
Well, I upgraded
$ poetry update Updating dependencies Resolving dependencies... (283.6s) Writing lock file Package operations: 0 installs, 3 updates, 0 removals • Updating jupyter-client (7.2.2 -> 7.3.0) • Updating jinja2 (3.1.1 -> 3.1.2) • Updating jupyter-server (1.16.0 -> 1.17.0)
But could not reproduce the error (so far) so it seems more random than I thought... The only difference is jinja2 was also upgraded, but I tried to downgrade, and still no error.
I'll stay with these new versions and keep you posted.
Great, thanks for helping to diagnose
Hello, After upgrading to 7.3.0, running a notebook in jupyterlab aborts with IndexError: pop from an empty deque Downgrading to 7.2.2 fixes the problem. Has anyone seen this ?