Jupytor Notebook not opening

I got the following error. Please help
Traceback (most recent call last): File “C:\Users\hp\anaconda3\Scripts\jupyter-notebook-script.py”, line 6, in from notebook.notebookapp import main File “C:\Users\hp\anaconda3\lib\site-packages\notebook\notebookapp.py”, line 44, in from jinja2 import Environment, FileSystemLoader File “C:\Users\hp\anaconda3\lib\site-packages\jinja2_init_.py”, line 12, in from .environment import Environment File “C:\Users\hp\anaconda3\lib\site-packages\jinja2\environment.py”, line 25, in from .defaults import BLOCK_END_STRING File “C:\Users\hp\anaconda3\lib\site-packages\jinja2\defaults.py”, line 3, in from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File “C:\Users\hp\anaconda3\lib\site-packages\jinja2\filters.py”, line 13, in from markupsafe import soft_unicode ImportError: cannot import name ‘soft_unicode’ from ‘markupsafe’ (C:\Users\hp\anaconda3\lib\site-packages\markupsafe_init_.py)

My pip list
Package Version


absl-py 2.1.0
altair 5.2.0
altgraph 0.17.3
annotated-types 0.6.0
anyio 4.3.0
arabic-reshaper 2.1.3
asgiref 3.5.2
asn1crypto 1.5.1
asttokens 2.2.1
astunparse 1.6.3
async-generator 1.10
attrs 23.2.0
backcall 0.2.0
beautifulsoup4 4.10.0
blinker 1.7.0
bs4 0.0.1
cachetools 5.3.3
certifi 2022.6.15
cffi 1.15.1
charset-normalizer 2.1.0
click 8.1.3
colorama 0.4.5
comm 0.1.3
contourpy 1.0.7
cryptography 37.0.2
cssselect2 0.6.0
cycler 0.11.0
Cython 0.29.35
cythonbuilder 0.1.17
dacite 1.8.1
deap 1.4.1
debugpy 1.6.7
decorator 5.1.1
distro 1.9.0
Django 4.0.5
django-colorfield 0.7.1
django-crispy-forms 1.14.0
exceptiongroup 1.2.0
executing 1.2.0
fastdtw 0.3.4
Flask 3.0.2
flatbuffers 24.3.7
fonttools 4.39.4
future 0.18.2
gast 0.5.4
gensim 4.3.2
gitdb 4.0.11
GitPython 3.1.42
google-pasta 0.2.0
grpcio 1.62.1
h11 0.13.0
h2o 3.46.0.1
h5py 3.10.0
html5lib 1.1
htmlmin 0.1.12
httpcore 1.0.4
httpx 0.27.0
idna 3.3
ImageHash 4.3.1
importlib_resources 6.3.2
ipykernel 6.23.2
ipython 8.14.0
itsdangerous 2.1.2
jedi 0.18.2
Jinja2 3.1.3
joblib 1.3.2
jsonschema 4.21.1
jsonschema-specifications 2023.12.1
jupyter_client 8.2.0
jupyter_core 5.3.1
keras 3.1.1
kiwisolver 1.4.4
learntools 0.0.20
libclang 18.1.1
lightgbm 4.3.0
llvmlite 0.42.0
lxml 4.9.1
Markdown 3.6
markdown-it-py 3.0.0
MarkupSafe 2.1.5
matplotlib 3.7.1
matplotlib-inline 0.1.6
mdurl 0.1.2
ml-dtypes 0.3.2
mlxtend 0.23.1
multimethod 1.11.2
mysql-connector-python 8.0.28
namex 0.0.7
nest-asyncio 1.5.6
networkx 3.2.1
numba 0.59.1
numpy 1.26.4
openai 1.14.0
opt-einsum 3.3.0
optree 0.10.0
oscrypto 1.3.0
outcome 1.1.0
packaging 23.1
pandas 2.2.1
pandas-profiling 3.6.6
parso 0.8.3
patsy 0.5.6
pefile 2023.2.7
phik 0.12.4
pickleshare 0.7.5
Pillow 9.1.1
pip 24.0
platformdirs 3.7.0
plotly 5.18.0
prompt-toolkit 3.0.38
protobuf 4.25.3
psutil 5.9.5
pure-eval 0.2.2
pyarrow 15.0.2
pycparser 2.21
pydantic 2.6.4
pydantic_core 2.16.3
pydeck 0.8.1b0
Pygments 2.15.1
pyHanko 0.13.2
pyhanko-certvalidator 0.19.5
pyinstaller 5.12.0
pyinstaller-hooks-contrib 2023.3
PyJWT 2.4.0
pyOpenSSL 22.0.0
pyparsing 3.0.9
PyPDF3 1.0.6
PyQt5 5.15.10
PyQt5-Qt5 5.15.2
PyQt5-sip 12.13.0
python-bidi 0.4.2
python-dateutil 2.8.2
python-decouple 3.6
pytz 2022.1
pytz-deprecation-shim 0.1.0.post0
PyWavelets 1.5.0
pywin32 306
pywin32-ctypes 0.2.0
PyYAML 6.0
pyzmq 25.1.0
qrcode 7.3.1
referencing 0.34.0
reportlab 3.6.10
requests 2.28.1
rich 13.7.1
rpds-py 0.18.0
schedule 1.1.0
scikit-learn 1.4.0
scipy 1.11.4
seaborn 0.12.2
selenium 4.1.0
setuptools 57.4.0
six 1.16.0
smart-open 7.0.3
smmap 5.0.1
sniffio 1.2.0
sortedcontainers 2.4.0
soupsieve 2.3.1
sqlparse 0.4.2
stack-data 0.6.2
statsmodels 0.14.1
streamlit 1.32.2
svglib 1.3.0
sweetviz 2.3.1
tabulate 0.9.0
tenacity 8.2.3
tensorboard 2.16.2
tensorboard-data-server 0.7.2
tensorflow 2.16.1
tensorflow-intel 2.16.1
tensorflow-io-gcs-filesystem 0.31.0
termcolor 2.4.0
threadpoolctl 3.2.0
tinycss2 1.1.1
toml 0.10.2
toolz 0.12.1
tornado 6.3.2
tqdm 4.64.0
traitlets 5.9.0
trio 0.19.0
trio-websocket 0.9.2
twilio 7.12.0
typeguard 4.1.5
typer 0.7.0
typing_extensions 4.10.0
tzdata 2024.1
tzlocal 4.2
uritools 4.0.0
urllib3 1.26.9
visions 0.7.6
watchdog 4.0.0
wcwidth 0.2.6
webencodings 0.5.1
Werkzeug 3.0.1
wheel 0.43.0
whitenoise 6.2.0
wordcloud 1.9.3
wrapt 1.16.0
wsproto 1.0.0
xhtml2pdf 0.2.8
ydata-profiling 4.7.0

Conda list

packages in environment at C:\Users\hp\anaconda3:

Name Version Build Channel

_anaconda_depends 2021.11 py39_0
_ipyw_jlab_nb_ext_conf 0.1.0 py39haa95532_0
_r-mutex 1.0.0 anacondar_1
alabaster 0.7.12 pyhd3eb1b0_0
anaconda custom py39_1
anaconda-client 1.9.0 py39haa95532_0
anaconda-navigator 2.3.2 py39haa95532_0
anaconda-project 0.10.1 pyhd3eb1b0_0
anyio 2.2.0 py39haa95532_2
appdirs 1.4.4 pyhd3eb1b0_0
argh 0.26.2 py39haa95532_0
argon2-cffi 20.1.0 py39h2bbff1b_1
arrow 0.13.1 py39haa95532_0
asn1crypto 1.4.0 py_0
astroid 2.6.6 py39haa95532_0
astropy 4.3.1 py39hc7d831d_0
async_generator 1.10 pyhd3eb1b0_0
atomicwrites 1.4.0 py_0
attrs 21.2.0 pyhd3eb1b0_0
autopep8 1.5.7 pyhd3eb1b0_0
babel 2.9.1 pyhd3eb1b0_0
backcall 0.2.0 pyhd3eb1b0_0
backports 1.0 pyhd3eb1b0_2
backports.functools_lru_cache 1.6.4 pyhd3eb1b0_0
backports.shutil_get_terminal_size 1.0.0 pyhd3eb1b0_3
backports.tempfile 1.0 pyhd3eb1b0_1
backports.weakref 1.0.post1 py_1
bcrypt 3.2.0 py39h196d8e1_0
beautifulsoup4 4.10.0 pyh06a4308_0
binaryornot 0.4.4 pyhd3eb1b0_1
bitarray 2.3.0 py39h2bbff1b_1
bkcharts 0.2 py39haa95532_0
black 19.10b0 py_0
blas 1.0 mkl
bleach 4.0.0 pyhd3eb1b0_0
blosc 1.21.0 h19a0ad4_0
bokeh 2.4.1 py39haa95532_0
boto 2.49.0 py39haa95532_0
bottleneck 1.3.2 py39h7cc1a96_1
brotli 1.0.9 ha925a31_2
brotlipy 0.7.0 py39h2bbff1b_1003
bzip2 1.0.8 he774522_0
ca-certificates 2022.10.11 haa95532_0
cached-property 1.5.2 py_0
certifi 2022.9.24 py39haa95532_0
cffi 1.14.6 py39h2bbff1b_0
cfitsio 3.470 he774522_6
chardet 4.0.0 py39haa95532_1003
charls 2.2.0 h6c2663c_0
charset-normalizer 2.0.4 pyhd3eb1b0_0
click 8.0.3 pyhd3eb1b0_0
cloudpickle 2.0.0 pyhd3eb1b0_0
clyent 1.2.2 py39haa95532_1
colorama 0.4.4 pyhd3eb1b0_0
commonmark 0.9.1 pypi_0 pypi
comtypes 1.1.10 py39haa95532_1002
conda 22.9.0 py39haa95532_0
conda-build 3.23.2 py39haa95532_0
conda-content-trust 0.1.1 pyhd3eb1b0_0
conda-env 2.6.0 1
conda-pack 0.6.0 pyhd3eb1b0_0
conda-package-handling 1.7.3 py39h8cc25b3_1
conda-repo-cli 1.0.4 pyhd3eb1b0_0
conda-token 0.3.0 pyhd3eb1b0_0
conda-verify 3.4.2 py_1
console_shortcut 0.1.1 4
contextlib2 0.6.0.post1 pyhd3eb1b0_0
cookiecutter 1.7.2 pyhd3eb1b0_0
cryptography 3.4.8 py39h71e12ea_0
curl 7.78.0 h86230a5_0
cycler 0.10.0 py39haa95532_0
cython 0.29.24 py39h604cdb4_0
cytoolz 0.11.0 py39h2bbff1b_0
daal4py 2021.3.0 py39h757b272_0
dal 2021.3.0 haa95532_564
dask 2021.10.0 pyhd3eb1b0_0
dask-core 2021.10.0 pyhd3eb1b0_0
dataclasses 0.8 pyh6d0b6a4_7
debugpy 1.4.1 py39hd77b12b_0
decorator 5.1.0 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
diff-match-patch 20200713 pyhd3eb1b0_0
distributed 2021.10.0 py39haa95532_0
docutils 0.17.1 py39haa95532_1
entrypoints 0.3 py39haa95532_0
et_xmlfile 1.1.0 py39haa95532_0
fastcache 1.1.0 py39h196d8e1_0
filelock 3.3.1 pyhd3eb1b0_1
flake8 3.9.2 pyhd3eb1b0_0
flask 1.1.2 pyhd3eb1b0_0
fonttools 4.25.0 pyhd3eb1b0_0
freetype 2.10.4 hd328e21_0
fsspec 2021.10.1 pyhd3eb1b0_0
future 0.18.2 py39haa95532_1
gensim 4.3.2 pypi_0 pypi
get_terminal_size 1.0.0 h38e98db_0
gevent 21.8.0 py39h2bbff1b_1
giflib 5.2.1 h62dcd97_0
glob2 0.7 pyhd3eb1b0_0
greenlet 1.1.1 py39hd77b12b_0
h5py 3.2.1 py39h3de5c98_0
hdf5 1.10.6 h7ebc959_0
heapdict 1.0.1 pyhd3eb1b0_0
html5lib 1.1 pyhd3eb1b0_0
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 3.2 pyhd3eb1b0_0
imagecodecs 2021.8.26 py39ha1f97ea_0
imageio 2.9.0 pyhd3eb1b0_0
imagesize 1.2.0 pyhd3eb1b0_0
importlib-metadata 4.8.1 py39haa95532_0
importlib_metadata 4.8.1 hd3eb1b0_0
inflection 0.5.1 py39haa95532_0
iniconfig 1.1.1 pyhd3eb1b0_0
intel-openmp 2021.4.0 haa95532_3556
intervaltree 3.1.0 pyhd3eb1b0_0
ipykernel 6.4.1 py39haa95532_1
ipython 7.29.0 py39hd4e2768_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.5 pyhd3eb1b0_1
isort 5.9.3 pyhd3eb1b0_0
itsdangerous 2.0.1 pyhd3eb1b0_0
jdcal 1.4.1 pyhd3eb1b0_0
jedi 0.18.0 py39haa95532_1
jinja2 2.11.3 pyhd3eb1b0_0
jinja2-time 0.2.0 pyhd3eb1b0_2
joblib 1.3.2 pypi_0 pypi
jpeg 9d h2bbff1b_0
json5 0.9.6 pyhd3eb1b0_0
jsonschema 3.2.0 pyhd3eb1b0_2
jupyter 1.0.0 py39haa95532_7
jupyter_client 6.1.12 pyhd3eb1b0_0
jupyter_console 6.4.0 pyhd3eb1b0_0
jupyter_core 4.8.1 py39haa95532_0
jupyter_server 1.4.1 py39haa95532_0
jupyterlab 3.2.1 pyhd3eb1b0_1
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.8.2 pyhd3eb1b0_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
keyring 23.1.0 py39haa95532_0
kiwisolver 1.3.1 py39hd77b12b_0
krb5 1.19.2 h5b6d351_0
lazy-object-proxy 1.6.0 py39h2bbff1b_0
lcms2 2.12 h83e58a3_0
lerc 3.0 hd77b12b_0
libaec 1.0.4 h33f27b4_1
libarchive 3.4.2 h5e25573_0
libcurl 7.78.0 h86230a5_0
libdeflate 1.8 h2bbff1b_5
libiconv 1.15 h1df5818_7
liblief 0.10.1 hd77b12b_1
libpng 1.6.37 h2a8f88b_0
libspatialindex 1.9.3 h6c2663c_0
libssh2 1.9.0 h7a1dbc1_1
libtiff 4.2.0 hd0e1b90_0
libwebp 1.2.0 h2bbff1b_0
libxml2 2.9.12 h0ad7f3c_0
libxslt 1.1.34 he774522_0
libzopfli 1.0.3 ha925a31_0
llvmlite 0.37.0 py39h23ce68f_1
locket 0.2.1 py39haa95532_1
lxml 4.6.3 py39h9b66d53_0
lz4-c 1.9.3 h2bbff1b_1
lzo 2.10 he774522_2
m2-msys2-runtime 2.5.0.17080.65c939c 3
m2-patch 2.7.5 2
m2w64-bwidget 1.9.10 2
m2w64-bzip2 1.0.6 6
m2w64-expat 2.1.1 2
m2w64-fftw 3.3.4 6
m2w64-flac 1.3.1 3
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gettext 0.19.7 2
m2w64-gmp 6.1.0 2
m2w64-gsl 2.1 2
m2w64-libiconv 1.14 6
m2w64-libjpeg-turbo 1.4.2 3
m2w64-libogg 1.3.2 3
m2w64-libpng 1.6.21 2
m2w64-libsndfile 1.0.26 2
m2w64-libsodium 1.0.10 2
m2w64-libtiff 4.0.6 2
m2w64-libvorbis 1.3.5 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
m2w64-libxml2 2.9.3 4
m2w64-mpfr 3.1.4 4
m2w64-openblas 0.2.19 1
m2w64-pcre 8.38 2
m2w64-speex 1.2rc2 3
m2w64-speexdsp 1.2rc3 3
m2w64-tcl 8.6.5 3
m2w64-tk 8.6.5 3
m2w64-tktable 2.10 5
m2w64-wineditline 2.101 5
m2w64-xz 5.2.2 2
m2w64-zeromq 4.1.4 2
m2w64-zlib 1.2.8 10
markupsafe 2.1.5 pypi_0 pypi
matplot 0.1.9 pypi_0 pypi
matplotlib 3.4.3 py39haa95532_0
matplotlib-base 3.4.3 py39h49ac443_0
matplotlib-inline 0.1.2 pyhd3eb1b0_2
mccabe 0.6.1 py39haa95532_1
menuinst 1.4.18 py39h59b6b97_0
mistune 0.8.4 py39h2bbff1b_1000
mkl 2021.4.0 haa95532_640
mkl-service 2.4.0 py39h2bbff1b_0
mkl_fft 1.3.1 py39h277e83a_0
mkl_random 1.2.2 py39hf11a4ad_0
mlxtend 0.23.1 pypi_0 pypi
mock 4.0.3 pyhd3eb1b0_0
more-itertools 8.10.0 pyhd3eb1b0_0
mouseinfo 0.1.3 pypi_0 pypi
mpmath 1.2.1 py39haa95532_0
msgpack-python 1.0.2 py39h59b6b97_1
msys2-conda-epoch 20160418 1
multipledispatch 0.6.0 py39haa95532_0
munkres 1.1.4 py_0
mypy_extensions 0.4.3 py39haa95532_0
mysql-connector-python 8.0.28 pypi_0 pypi
navigator-updater 0.2.1 py39haa95532_0
nbclassic 0.2.6 pyhd3eb1b0_0
nbclient 0.5.3 pyhd3eb1b0_0
nbconvert 6.1.0 py39haa95532_0
nbformat 5.1.3 pyhd3eb1b0_0
nest-asyncio 1.5.1 pyhd3eb1b0_0
networkx 2.6.3 pyhd3eb1b0_0
nltk 3.6.5 pyhd3eb1b0_0
nose 1.3.7 pyhd3eb1b0_1006
notebook 6.4.5 py39haa95532_0
numba 0.54.1 py39hf11a4ad_0
numexpr 2.7.3 py39hb80d3ca_1
numpy 1.22.4 pypi_0 pypi
numpydoc 1.1.0 pyhd3eb1b0_1
olefile 0.46 pyhd3eb1b0_0
openjpeg 2.4.0 h4fc8c34_0
openpyxl 3.0.9 pyhd3eb1b0_0
openssl 1.1.1s h2bbff1b_0
packaging 21.0 pyhd3eb1b0_0
pandas 1.3.4 py39h6214cd6_0
pandocfilters 1.4.3 py39haa95532_1
paramiko 2.7.2 py_0
parso 0.8.2 pyhd3eb1b0_0
partd 1.2.0 pyhd3eb1b0_0
path 16.0.0 py39haa95532_0
path.py 12.5.0 hd3eb1b0_0
pathlib2 2.3.6 py39haa95532_2
pathspec 0.7.0 py_0
patsy 0.5.2 py39haa95532_0
pep8 1.7.1 py39haa95532_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 8.4.0 py39hd45dc43_0
pip 21.2.4 py39haa95532_0
pkginfo 1.9.2 pypi_0 pypi
plotly 5.18.0 pypi_0 pypi
pluggy 0.13.1 py39haa95532_0
ply 3.11 py39haa95532_0
powershell_shortcut 0.0.1 3
poyo 0.5.0 pyhd3eb1b0_0
prometheus_client 0.11.0 pyhd3eb1b0_0
prompt-toolkit 3.0.20 pyhd3eb1b0_0
prompt_toolkit 3.0.20 hd3eb1b0_0
psutil 5.8.0 py39h2bbff1b_1
ptyprocess 0.7.0 pyhd3eb1b0_2
py 1.10.0 pyhd3eb1b0_0
py-lief 0.10.1 py39hd77b12b_1
pyautogui 0.9.53 pypi_0 pypi
pycodestyle 2.7.0 pyhd3eb1b0_0
pycosat 0.6.3 py39h2bbff1b_0
pycparser 2.20 py_2
pycurl 7.44.1 py39hcd4344a_1
pydocstyle 6.1.1 pyhd3eb1b0_0
pyerfa 2.0.0 py39h2bbff1b_0
pyflakes 2.3.1 pyhd3eb1b0_0
pygetwindow 0.0.9 pypi_0 pypi
pygments 2.10.0 pyhd3eb1b0_0
pyjwt 2.1.0 py39haa95532_0
pylint 2.9.6 py39haa95532_1
pyloco 0.0.139 pypi_0 pypi
pyls-spyder 0.4.0 pyhd3eb1b0_0
pymsgbox 1.0.9 pypi_0 pypi
pynacl 1.4.0 py39hbd8134f_1
pyodbc 4.0.31 py39hd77b12b_0
pyopenssl 21.0.0 pyhd3eb1b0_1
pyparsing 3.0.4 pyhd3eb1b0_0
pyperclip 1.8.2 pypi_0 pypi
pyqt 5.9.2 py39hd77b12b_6
pyreadline 2.1 py39haa95532_1
pyrect 0.2.0 pypi_0 pypi
pyrsistent 0.18.0 py39h196d8e1_0
pyscreeze 0.1.28 pypi_0 pypi
pysocks 1.7.1 py39haa95532_0
pytables 3.6.1 py39h56d22b6_1
pytest 6.2.4 py39haa95532_2
python 3.9.7 h6244533_1
python-dateutil 2.8.2 pyhd3eb1b0_0
python-libarchive-c 2.9 pyhd3eb1b0_1
python-lsp-black 1.0.0 pyhd3eb1b0_0
python-lsp-jsonrpc 1.0.0 pyhd3eb1b0_0
python-lsp-server 1.2.4 pyhd3eb1b0_0
python-slugify 5.0.2 pyhd3eb1b0_0
pytweening 1.0.4 pypi_0 pypi
pytz 2021.3 pyhd3eb1b0_0
pywavelets 1.1.1 py39h080aedc_4
pywhatkit 5.4 pypi_0 pypi
pywin32 228 py39he774522_0
pywin32-ctypes 0.2.0 py39haa95532_1000
pywinpty 0.5.7 py39haa95532_0
pyyaml 6.0 py39h2bbff1b_1
pyzmq 22.2.1 py39hd77b12b_1
qdarkstyle 3.0.2 pyhd3eb1b0_0
qstylizer 0.1.10 pyhd3eb1b0_0
qt 5.9.7 vc14h73c81de_0
qtawesome 1.0.2 pyhd3eb1b0_0
qtconsole 5.1.1 pyhd3eb1b0_0
qtpy 1.10.0 pyhd3eb1b0_0
r-assertthat 0.2.1 r36h6115d3f_0
r-base 3.6.1 hf18239d_1 r
r-base64enc 0.1_3 r36h6115d3f_4 r
r-bh 1.69.0_1 r36h6115d3f_0
r-cli 1.1.0 r36h6115d3f_0
r-colorspace 1.4_1 r36h6115d3f_0
r-crayon 1.3.4 r36h6115d3f_0 r
r-dichromat 2.0_0 r36h6115d3f_4
r-digest 0.6.18 r36h6115d3f_0 r
r-dplyr 0.8.0.1 r36h6115d3f_0
r-evaluate 0.13 r36h6115d3f_0 r
r-fansi 0.4.0 r36h6115d3f_0
r-ggplot2 3.1.1 r36h6115d3f_0
r-glue 1.3.1 r36h6115d3f_0
r-gtable 0.3.0 r36h6115d3f_0
r-htmltools 0.3.6 r36h6115d3f_0 r
r-infotheo 1.2.0 r36h796a38f_0
r-irdisplay 0.7.0 r36h6115d3f_0 r
r-irkernel 0.8.15 r36_0 r
r-jsonlite 1.6 r36h6115d3f_0 r
r-labeling 0.3 r36h6115d3f_4
r-lattice 0.20_38 r36h6115d3f_0
r-lazyeval 0.2.2 r36h6115d3f_0
r-magrittr 1.5 r36h6115d3f_4
r-mass 7.3_51.3 r36h6115d3f_0
r-matrix 1.2_17 r36h6115d3f_0
r-mgcv 1.8_28 r36h6115d3f_0
r-munsell 0.5.0 r36h6115d3f_0
r-nlme 3.1_139 r36h6115d3f_0
r-pbdzmq 0.3_3 r36h6115d3f_0 r
r-pillar 1.3.1 r36h6115d3f_0
r-pkgconfig 2.0.2 r36h6115d3f_0
r-plogr 0.2.0 r36h6115d3f_0
r-plyr 1.8.4 r36h6115d3f_0
r-purrr 0.3.2 r36h6115d3f_0
r-r6 2.4.0 r36h6115d3f_0
r-rcolorbrewer 1.1_2 r36h6115d3f_0
r-rcpp 1.0.1 r36h6115d3f_0 r
r-repr 0.19.2 r36h6115d3f_0 r
r-reshape2 1.4.3 r36h6115d3f_0
r-rlang 0.3.4 r36h6115d3f_0
r-scales 1.0.0 r36h6115d3f_0
r-stringi 1.4.3 r36h6115d3f_0
r-stringr 1.4.0 r36h6115d3f_0
r-tibble 2.1.1 r36h6115d3f_0
r-tidyselect 0.2.5 r36h6115d3f_0
r-utf8 1.1.4 r36h6115d3f_0
r-uuid 0.1_2 r36h6115d3f_4 r
r-viridislite 0.3.0 r36h6115d3f_0
r-withr 2.1.2 r36h6115d3f_0
readme-renderer 37.3 pypi_0 pypi
regex 2021.8.3 py39h2bbff1b_0
requests 2.26.0 pyhd3eb1b0_0
requests-toolbelt 0.10.1 pypi_0 pypi
rfc3986 2.0.0 pypi_0 pypi
rich 12.6.0 pypi_0 pypi
rope 0.19.0 pyhd3eb1b0_0
rtree 0.9.7 py39h2eaa2aa_1
ruamel_yaml 0.15.100 py39h2bbff1b_0
scikit-image 0.18.3 py39hf11a4ad_0
scikit-learn 1.4.0 pypi_0 pypi
scikit-learn-intelex 2021.3.0 py39haa95532_0
scipy 1.7.1 py39hbe87c03_2
seaborn 0.12.1 py39haa95532_0
send2trash 1.8.0 pyhd3eb1b0_1
setuptools 58.0.4 py39haa95532_0
simplegeneric 0.8.1 py39haa95532_2
simplewebsocketserver 0.1.2 pypi_0 pypi
singledispatch 3.7.0 pyhd3eb1b0_1001
sip 4.19.13 py39hd77b12b_0
six 1.16.0 pyhd3eb1b0_0
sklearn 0.0.post5 pypi_0 pypi
smart-open 7.0.1 pypi_0 pypi
snappy 1.1.8 h33f27b4_0
sniffio 1.2.0 py39haa95532_1
snowballstemmer 2.1.0 pyhd3eb1b0_0
sortedcollections 2.1.0 pyhd3eb1b0_0
sortedcontainers 2.4.0 pyhd3eb1b0_0
soupsieve 2.2.1 pyhd3eb1b0_0
sphinx 4.2.0 pyhd3eb1b0_1
sphinxcontrib 1.0 py39haa95532_1
sphinxcontrib-applehelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-devhelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-htmlhelp 2.0.0 pyhd3eb1b0_0
sphinxcontrib-jsmath 1.0.1 pyhd3eb1b0_0
sphinxcontrib-qthelp 1.0.3 pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.5 pyhd3eb1b0_0
sphinxcontrib-websupport 1.2.4 py_0
spyder 5.1.5 py39haa95532_1
spyder-kernels 2.1.3 py39haa95532_0
sqlalchemy 1.4.22 py39h2bbff1b_0
sqlite 3.36.0 h2bbff1b_0
statsmodels 0.12.2 py39h2bbff1b_0
sympy 1.9 py39haa95532_0
tbb 2021.4.0 h59b6b97_0
tbb4py 2021.4.0 py39h59b6b97_0
tblib 1.7.0 pyhd3eb1b0_0
tenacity 8.2.3 pypi_0 pypi
terminado 0.9.4 py39haa95532_0
testpath 0.5.0 pyhd3eb1b0_0
text-unidecode 1.3 pyhd3eb1b0_0
textdistance 4.2.1 pyhd3eb1b0_0
threadpoolctl 2.2.0 pyh0d69192_0
three-merge 0.1.1 pyhd3eb1b0_0
tifffile 2021.7.2 pyhd3eb1b0_2
tinycss 0.4 pyhd3eb1b0_1002
tk 8.6.11 h2bbff1b_0
toml 0.10.2 pyhd3eb1b0_0
toolz 0.11.1 pyhd3eb1b0_0
tornado 6.1 py39h2bbff1b_0
tqdm 4.62.3 pyhd3eb1b0_1
traitlets 5.1.0 pyhd3eb1b0_0
twine 4.0.2 pypi_0 pypi
typed-ast 1.4.3 py39h2bbff1b_1
typing 3.7.4.3 pypi_0 pypi
typing_extensions 3.10.0.2 pyh06a4308_0
tzdata 2021e hda174b7_0
ujson 4.0.2 py39hd77b12b_0
unicodecsv 0.14.1 py39haa95532_0
unidecode 1.2.0 pyhd3eb1b0_0
urllib3 1.26.7 pyhd3eb1b0_0
ushlex 0.99.1 pypi_0 pypi
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
watchdog 2.1.3 py39haa95532_0
wcwidth 0.2.5 pyhd3eb1b0_0
webencodings 0.5.1 py39haa95532_1
websocket-client 1.4.2 pypi_0 pypi
werkzeug 2.0.2 pyhd3eb1b0_0
wheel 0.37.0 pyhd3eb1b0_1
whichcraft 0.6.1 pyhd3eb1b0_0
widgetsnbextension 3.5.1 py39haa95532_0
wikipedia 1.4.0 pypi_0 pypi
win_inet_pton 1.1.0 py39haa95532_0
win_unicode_console 0.5 py39haa95532_0
wincertstore 0.2 py39haa95532_2
winpty 0.4.3 4
wrapt 1.12.1 py39h196d8e1_1
xgboost 2.0.3 pypi_0 pypi
xlrd 2.0.1 pyhd3eb1b0_0
xlsxwriter 3.0.1 pyhd3eb1b0_0
xlwings 0.24.9 py39haa95532_0
xlwt 1.3.0 py39haa95532_0
xmltodict 0.12.0 pyhd3eb1b0_0
xz 5.2.5 h62dcd97_0
yaml 0.2.5 he774522_0
yapf 0.31.0 pyhd3eb1b0_0
yellowbrick 1.5 pypi_0 pypi
zfp 0.5.5 hd77b12b_6
zict 2.0.0 pyhd3eb1b0_0
zipp 3.6.0 pyhd3eb1b0_0
zlib 1.2.11 h62dcd97_4
zope 1.0 py39haa95532_1
zope.event 4.5.0 py39haa95532_0
zope.interface 5.4.0 py39h2bbff1b_0
zstd 1.4.9 h19a0ad4_0

Please read Getting good answers to your questions and for next time follow it. Under ‘Before posting your question try’ there is a great list. If you had followed those steps you most likely would have found here and here.
Note though to first try any solution only involving Anaconda/conda as you have that as your primary package manager having chosen to work with the Anaconda Distribution.
I note a lot of your packages are very outdated. At this point if you know your project environments under Anaconda/conda are already set up and good, you may be better off fully uninstalling the old Anaconda Distribution I suspect you have and upgrade to the latest one. That may be more than you want to take on though at this time and so the safer solution would just to be address what is necessary.

Please I can’t start jupyter notebook because jupyter notebook
Traceback (most recent call last):
File “/home/ubuntu/.local/bin/jupyter-notebook”, line 5, in
from notebook.app import main
File “/home/ubuntu/.local/lib/python3.10/site-packages/notebook/app.py”, line 9, in
from jupyter_client.utils import ensure_async # type:ignore[attr-defined]
File “/home/ubuntu/.local/lib/python3.10/site-packages/jupyter_client/init.py”, line 3, in
from .asynchronous import AsyncKernelClient
File “/home/ubuntu/.local/lib/python3.10/site-packages/jupyter_client/asynchronous/init.py”, line 1, in
from .client import AsyncKernelClient # noqa
File “/home/ubuntu/.local/lib/python3.10/site-packages/jupyter_client/asynchronous/client.py”, line 11, in
from …channels import AsyncZMQSocketChannel, HBChannel
File “/home/ubuntu/.local/lib/python3.10/site-packages/jupyter_client/channels.py”, line 12, in
from jupyter_core.utils import ensure_async
ImportError: cannot import name ‘ensure_async’ from ‘jupyter_core.utils’ (/usr/lib/python3/dist-packages/jupyter_core/utils/init.py)

This seems unrelated to the six month old thread here.
Please read the first link I posted just above your newest post. Preferably, also read the resource at the last link in that guide.