STOmics / Stereopy

A toolkit of spatial transcriptomic analysis.
MIT License
193 stars 64 forks source link

Notebook problems with version 1.2.0 #273

Closed robin-sto closed 4 months ago

robin-sto commented 5 months ago

stereopy.txt

Hello,

We are getting errors using jupyter lab with version 1.2.0. Please let me know how to address these two errors:

[W 11:43:10.530 LabApp] Failed validating settings (@jupyterlab/filebrowser-extension:browser): Additional properties are not allowed ('showFullPath', 'sortNotebooksFirst', 'showFileCheckboxes', 'showFileSizeColumn' were unexpected)

Failed validating 'additionalProperties' in schema:
    {'additionalProperties': False,
     'description': 'File Browser settings.',
     'jupyter.lab.setting-icon': 'ui-components:folder',
     'jupyter.lab.setting-icon-label': 'File Browser',
     'jupyter.lab.shortcuts': [{'command': 'filebrowser:create-main-launcher',
                                'keys': ['Accel Shift L'],
                                'selector': 'body'}, ...

[W 11:43:10.726 LabApp] 500 GET /api/nbconvert?1715010190682 (10.200.10.247): Could not import nbconvert: cannot import name 'contextfilter' from 'jinja2' (/usr/local/anaconda3-2020/lib/python3.8/site-packages/jinja2/init.py) [W 11:43:10.727 LabApp] Could not import nbconvert: cannot import name 'contextfilter' from 'jinja2' (/usr/local/anaconda3-2020/lib/python3.8/site-packages/jinja2/init.py)

Attached are conda and pip list

Thank you

tanliwei-coder commented 4 months ago

It may be caused by conflict between jinja2 and jupyter-notebook, I suggest you install jupyter-notebook and stereopy in different conda enviroment to avoid some unpredictable software confilcts.